When to react to changes in a RadDock-structure?

2 posts, 0 answers
  1. Christoffer Rosenqvist
    Christoffer Rosenqvist avatar
    28 posts
    Member since:
    Oct 2009

    Posted 30 Oct 2009 Link to this post

    I'm making a dynamic RadDock structure as per this post. I want to react to changes in the RadDocks (add, move, close). Where is the best place to do this? From the RadDock Lifecycle I would gather that the best place to do this is in the RadDockLayout.SaveDockLayout-event, but I'm not sure.

    Where is the best place to react to changes?


  2. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 03 Nov 2009 Link to this post

    Hello Christoffer,

    Correct. The RadDockLayout.SaveDockLayout-event is the right event to save the state of the docks which state has been modified by moving, expanding/collapsing, closing etc.

    Please take a look at the following demo. It dynamically adds RadDocks and saves their state in the Session.


    Regards,
    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