I am having problem while loading the CSS file through App_Themes folder, I am setting the theme of the page dynamically using code behind by OnPreInit Event and every thing goes fine ie the skin loads perfectly but the corresponding CSS to that specific theme is not loading any help from you will be very much appreciated.
Note: I am loading pages to Iframe.
You may need to allow anonymous access to your theme in your web.config file, particularly if you are using Visual Studio's Development Server instead of IIS.
<location path="App_Themes/YourThemeFolder">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
Add this to your Web.config
<pages styleSheetTheme="YourThemeName">
</pages>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With