Saving and loading dock state/position

3 posts, 0 answers
  1. Edmund
    Edmund avatar
    4 posts
    Member since:
    Dec 2010

    Posted 09 Jan 2011 Link to this post

    I am having trouble getting my dock to save state when I move my panels.  Is there a way to make dock automatically trigger save state without clicking a button or something?  Also is there a way to make my controls auto refresh in my docks?  Like setup a timer in update panel. Thanks
  2. Edmund
    Edmund avatar
    4 posts
    Member since:
    Dec 2010

    Posted 10 Jan 2011 Link to this post

    So my code

    <telerik:RadDockLayout runat="server" ID="RadDockLayout1" Skin="Office2007"
    OnSaveDockLayout="RadDockLayout1_SaveDockLayout"
    OnLoadDockLayout="RadDockLayout1_LoadDockLayout">

    How can I get the system to trigger save state without say clicking a button?  Thanks!

     

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 11 Jan 2011 Link to this post

    Hi Edmund,

    To make the docks save their state on every user action you should set the AutoPostBack and CommandsAutoPostBack properties of the RadDock control to true. The following demo dynamically creates docks and stores their state in the Session on every user interaction with the docks: http://demos.telerik.com/aspnet-ajax/dock/examples/myportal/defaultcs.aspx.

    Regards,
    Pero
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top