Hello Telerik,
We have an issue of Themes, where unwanted css files also gets dwonloaded.
Following is the scenario:
1) Apply a theme to a page say Default. Set a grid and a menu control on that page. Set the skin of these controls to Default and also set EnableEmbeddedSkins to false. Make sure, the Grid.Default.css and Menu.Default.css are present in App_Themes\Default folder. Now, when this page is rendered, css gets linked to the page.
2) Now take another page. Add no rad controls to this page. Just apply the Theme to this page. Now, when the page is rendered, all the css files in the App_Themes\Default folder gets linked to this page. This is causing unnecessary download of css file making the page heavy.
Is there any workaround for this? Since we are using Themes in our application, we had to use this kind of senario.
Urgently awaiting for your reply.
Thanks.
We have an issue of Themes, where unwanted css files also gets dwonloaded.
Following is the scenario:
1) Apply a theme to a page say Default. Set a grid and a menu control on that page. Set the skin of these controls to Default and also set EnableEmbeddedSkins to false. Make sure, the Grid.Default.css and Menu.Default.css are present in App_Themes\Default folder. Now, when this page is rendered, css gets linked to the page.
2) Now take another page. Add no rad controls to this page. Just apply the Theme to this page. Now, when the page is rendered, all the css files in the App_Themes\Default folder gets linked to this page. This is causing unnecessary download of css file making the page heavy.
Is there any workaround for this? Since we are using Themes in our application, we had to use this kind of senario.
Urgently awaiting for your reply.
Thanks.