Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
How to chage stylesetName selected from dropdown at runtime for whole application?
posted

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

Parents
No Data
Reply
  • 695
    posted

    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

Children