This is a migrated thread and some comments may be shown as answers.

How: Change the skins at runtime?

1 Answer 74 Views
Window
This is a migrated thread and some comments may be shown as answers.
saravanan k
Top achievements
Rank 1
saravanan k asked on 03 Sep 2010, 05:39 AM
HI,

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.

Regards,
Saravanan

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 08 Sep 2010, 12:38 PM
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


Regards,
Fiko
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
Tags
Window
Asked by
saravanan k
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or