Keep RadDock from Refreshing

2 posts, 0 answers
  1. Ryan
    Ryan avatar
    61 posts
    Member since:
    Jul 2009

    Posted 15 Oct 2009 Link to this post

    I have two pages in my applicaiton, both pages have the following basic structure:

     

    ...  
    <asp:UpdatePanel runat="server" ID="xxx" UpdateMode="Conditional">  
        <ContentTemplate> 
            <telerik:RadDockLayout ID="xxx" runat="server">  
                <telerik:RadDockZone ID="xxx" runat="server">  
                    <asp:UpdatePanel runat="server" ID="xxx" UpdateMode="Conditional">  
                        <ContentTemplate> 
                            <telerik:RadDock runat="server" ID="xxx">  
                                <ContentTemplate> 
                                    <asp:UpdatePanel runat="server" ID="xxx" UpdateMode="Conditional">  
                                        <ContentTemplate> 
                                            ...  
     
                                        </ContentTemplate> 
                                    </asp:UpdatePanel> 
                                 </ContentTemplate> 
                             </telerik:RadDock> 
                         </ContentTemplate> 
                    </asp:UpdatePanel>   
                </telerik:RadDockZone>   
            </telerik:RadDockLayout> 
        </ContentTemplate> 
    </asp:UpdatePanel> 
    ...  
     

    (note that each UpdatePanel has appropriate AsyncPostBackTriggers set)

    One of the pages dynamically adds the RadDocks at run-time, and the other has the RadDocks hard-coded.  The issue is that when any RadDock is moved/minimized/closed within the dynamic page, all other RadDocks are refreshed.  When any RadDock is moved/minimized/closed within the hard-coded page, all other RadDocks remain untouched.  What I want is the latter effect, where I can alter one RadDock and others will remain untouched.

    How can I make this happen?  Anything with ViewState?  With more/less UpdatePanels?  With changing UpdateModes?  Any help would be greatly appreciated.

    ~Ryan

     

     

  2. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 20 Oct 2009 Link to this post

    Hi Ryan,

    Take a look at the following modification of the My Portal example. It uses a hidden UpdatePanel where the docks are added to, and loads a client script from the server to dock them to the respective dock zone. This way only the dock that is closed/moved/collapsed is refreshed and not all of the RadDocks present on the page.

    Let us know if you have other questions.

    Best wishes,
    Pero
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top