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

Preserve client state issue.

2 Answers 137 Views
Window
This is a migrated thread and some comments may be shown as answers.
Maxim
Top achievements
Rank 1
Maxim asked on 02 Jun 2009, 03:09 PM
The preserve client state feature does not work right when window's RestrictionZoneID property is set. The windows height and width reverts to original for some reason. See sample code.
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"
    <div id="restrictionZone" style="border: 1px dotted #000000; width: 99%; height: 95%; 
        position: relative;"> 
        <table cellpadding="1" cellspacing="1" style="height: 65px; position: absolute; bottom: 0px;"
            <tr> 
                <td id="portfolioZone" style="width: 230px;"
                </td> 
                <td id="banchmarkZone" style="width: 230px;"
                </td> 
            </tr> 
        </table> 
    </div> 
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" KeepInScreenBounds="true" 
        RestrictionZoneID="restrictionZone" EnableViewState="False" PreserveClientState="True"
        <Windows> 
            <telerik:RadWindow ID="portfolio" runat="server" NavigateUrl="#" 
                ShowContentDuringLoad="True" VisibleOnPageLoad="True" ReloadOnShow="False" VisibleStatusbar="False" 
                Left="0" Top="0" Width="300" Height="300" MinimizeZoneID="portfolioZone"
            </telerik:RadWindow> 
            <telerik:RadWindow ID="banchmark" runat="server" NavigateUrl="#" ShowContentDuringLoad="True" 
                VisibleOnPageLoad="True" ReloadOnShow="False" VisibleStatusbar="False" Left="0" 
                Top="0" Width="300" Height="300" MinimizeZoneID="banchmarkZone"
            </telerik:RadWindow> 
        </Windows> 
    </telerik:RadWindowManager> 
</asp:Content> 

2 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 03 Jun 2009, 11:30 AM
Hi Maxim,

I am not quite sure what may cause the behavior that you experience. I prepared a test project based on your code, but I was not able to reproduce such behavior. Could you please open a new support ticket and send us a simple project that reproduce the described issue. For you convenience I have attached my test project to the thread and you can just modify it in order to reproduce the problem. Once we have a better view over your setup we will do our best to provide a solution.

Kind regards,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Maxim
Top achievements
Rank 1
answered on 03 Jun 2009, 08:21 PM
I have created a support request attaching screen cast & source code.
Tags
Window
Asked by
Maxim
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Maxim
Top achievements
Rank 1
Share this question
or