How: Change the skins at runtime?

2 posts, 0 answers
  1. saravanan k
    saravanan k avatar
    88 posts
    Member since:
    Mar 2010

    Posted 03 Sep 2010 Link to this post


    I have a window with content template which contains a button. The button has office2007 theme(using decorator) and the window has sunset theme.
    If i specify the style at design, everything is fine. But if I try to assign the theme during run time, for the first page_load the theme does not appear for the buttons. But on later page_load it works fine.

    The problem does not seem to occur if the button and the window have the same theme.

    I am using the visibleOnPageLoad=true to show the window from server side.

    Is there a better way to do this? My requirement is that based on different conditions, I need the appearance of the button and the window to be changed.

  2. Fiko
    Fiko avatar
    1406 posts

    Posted 08 Sep 2010 Link to this post

    Hi Saravanan,

    In reference to your questions:
    • I have prepared a test project, but unfortunately I was not able to reproduce the described problem with the RadFormdecorator control. Could you please rework the attached project, open a new support ticket and send it back? I will check it and do my best to provide a working solution as soon as possible.
    • You can use this approach in order to open a RadWindow (radalert is a RadWindow) from the server

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top