Preserve client state issue.

3 posts, 0 answers
  1. Maxim
    Maxim avatar
    63 posts
    Member since:
    Mar 2007

    Posted 02 Jun 2009 Link to this post

    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. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 03 Jun 2009 Link to this post

    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.
  3. Maxim
    Maxim avatar
    63 posts
    Member since:
    Mar 2007

    Posted 03 Jun 2009 Link to this post

    I have created a support request attaching screen cast & source code.
Back to Top