I have dropdown with different styleset in master page,once user select any style it should change style for all controls for all pages ,means whole site should have that styleset.I read this document,but i am not getting how to change stylesetname in web.config to reflect it for whole site.http://help.infragistics.com/Help/NetAdvantage/NET/2008.3/CLR3.5/html/Web_Enabling_Application_Styling_Using_the_Web_Config_File.html
Hello,sorry for the late answer. So for your case I'm afraid the topic that you've posted won't help you. Depending on your site's structure, there are several ways to style your site controls with same StyleSet. I believe for your case you need to store the value chosen from dropdown with stylesets (in the session; in the cache) and apply this styleset value (on Page_Load for example) whenever there are Infragistics ASP.NET controls on the current page. If you need further explanations I can provide an example.Regards,Nikolai Dimitrov
Hello,
Thank you for your reply.According to your answer that would only change current page styleset for all controls.I want to change whole application style,just by selectiong styleset value from dropdown.
For example,currently I set style using
<
infragistics.web styleSetName="Default" styleSetPath="~/App_Themes" />
Now,i want to chage style for complete application dynamically at runtime by selecting from dropdown.
I really appericate if you can provide solution.
Hello,I've created a web site with master and child pages. The sample uses 10.2 version for .net 3.5. Let me know if you have any questions.Regards,Nikolai Dimitrov