Changing Extension Theme without Reloading

Answered
0
0

Hi.

We give 3 different Theme Options to the user like Normal, Dark and Light. In the application, we call Application.LoadTheme(“DarkTheme”), for example, and this will change all elements to the new chosen theme, even for open forms. Now, we have DevEx components dropped in those forms and so, right before the Application.LoadTheme, we set the dxBase theme too: Wisej.Web.Ext.DevExtreme.dxBase.Theme = “dark”. This won’t change the theme for the already visible components, unless we issue an Application.Reload(). So, would there be a way to Refresh the current visible DevEx components without Reloading everything?

Thanks in advance.

Ivan

  • You must to post comments
Best Answer
0
0

There is no way. Their widgets require a full page and css reload afaik.

  • You must to post comments
0
0

Got it. Thanks Luca.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.