Chooser change is not refreshing background

3 posts, 0 answers
  1. Matt
    Matt avatar
    32 posts
    Member since:
    May 2013

    Posted 23 Feb 2015 Link to this post

    Greetings,

    How do I get the chooser to change everything on the page?  Right now, I change the skin and the controls are restyled, but I have to refresh with F5 to get the background to change.  Is there some kind of cache setting I need to change?

    Thank you!

    Matt
  2. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 26 Feb 2015 Link to this post

    Hello Matt,

    Could you please elaborate a bit more on your scenario? Which control's background do you want to  change? Also on which event do you set the background? Also can you post the code with which you set the background?

    Looking forward for your reply.

    Regards,
    Radoslav
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Matt
    Matt avatar
    32 posts
    Member since:
    May 2013

    Posted 26 Feb 2015 in reply to Radoslav Link to this post

    I want the entire page, all controls, and page background to update.  I am working around the issue by forcing a redirect tot the same page like this...
    <telerik:RadSkinManager ID="RadSkinManager1"
                            runat="server"
                            ShowChooser="true"
                            Skin="Silk"
                            PersistenceMode="Cookie"
                            OnSkinChanged="RadSkinManager1_SkinChanged">
    </telerik:RadSkinManager>

    protected void RadSkinManager1_SkinChanged(object sender, SkinChangedEventArgs e)
    {
      Response.Redirect(Request.Url.PathAndQuery, true);
    }


    I would prefer not to redirect, but to reskin everything on postback.

    Matt
Back to Top