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

Trying to integrate MDI demo and RadSkinManager chooser..

1 Answer 31 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tom M
Top achievements
Rank 1
Tom M asked on 23 Sep 2010, 02:43 PM
Greetings,

I am trying to integrate the MDI Demo and the RadSkinManager chooser. The issue I am currently facing is that when windows are open and I change the skin, the windows dissapear. The RadSkinManager mark-up for the window manager is...

<telerik:RadWindowManager ID="RadWindowManagerMain" runat="server" 
                           RestrictionZoneID="center"
                           Behaviors="Close, Maximize, Minimize, Move, Resize" 
                           KeepInScreenBounds="true"                                   
                           VisibleStatusbar="false"
                           EnableShadow="true"
                           Animation="Fade"
                           AnimationDuration="300"
                           AutoSize="false"
                           VisibleOnPageLoad="false" 
                           IconUrl="../CSS/titlegraphic.gif" 
                           ShowContentDuringLoad="true"
                           OnClientDragStart="WindowDragStart"
                           OnClientCommand="OnClientCommand"
                           OnClientActivate="OnClientActivate" 
                           OnClientClose="OnClientClose"
                           EnableViewState="true">
</telerik:RadWindowManager>

I am not sure what I am missing or if I should expect this to work at all? Any help or insight would be greatly appreciated.

Kind Regards,
Tom

1 Answer, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 27 Sep 2010, 08:46 AM
Hi Tom,

In the MDI demo, the RadWindow objects are created dynamically on the client - that is why when you make a postback, they disappear. Currently RadWindow does not preserve its state when created dynamically - there is an EnableViewState property for the RadWindowManager, but it affects only RadWindows that are created on the server and when enabled, only the properties that are set from the server are preserved.


Kind regards,
Georgi Tunev
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
General Discussions
Asked by
Tom M
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or