This is a migrated thread and some comments may be shown as answers.

Theming

3 Answers 277 Views
Switch
This is a migrated thread and some comments may be shown as answers.
Bart
Top achievements
Rank 1
Bart asked on 22 Jun 2020, 11:08 AM

Hi,

 

Any idea how to reset the theming to another thema (default) ?

 

Currently I'm using the 'material v2' theme

 

Best regards

3 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 24 Jun 2020, 04:53 AM

Hi Bart,

There is an available example that demonstrates how themes can be changed on the client-side through a DropDownList:

The above-linked article contains a link to GitHub where you can find a sample ASP.NET MVC solution that demonstrates the described approach in the article.

Regards,
Dimitar
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Bart
Top achievements
Rank 1
answered on 24 Jun 2020, 07:59 AM

Hi,

 

Thx for your answer. You point to an article on how to change the global theme, I only want to use the change the theme for a specific compontn. Any ideas how to do that ?

 

Best regards,

 

Bart

0
Dimitar
Telerik team
answered on 25 Jun 2020, 05:48 AM

Hi Bart,

It is currently not possible to define themes per component. One of the reasons for this is that the Kendo UI Themes all reside in different stylesheets. Thus, if we want to apply a specific theme to a widget, the entire stylesheet has to be plugged around the widget as a wrapping element. This could potentially lead  to other issues, style clashes, prevent and make difficult customization with CSS, etc.

Regards,
Dimitar
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Switch
Asked by
Bart
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Bart
Top achievements
Rank 1
Share this question
or