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

When to react to changes in a RadDock-structure?

1 Answer 28 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Christoffer Rosenqvist
Top achievements
Rank 1
Christoffer Rosenqvist asked on 30 Oct 2009, 01:44 PM
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?


1 Answer, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 03 Nov 2009, 03:06 PM
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.
Tags
Dock
Asked by
Christoffer Rosenqvist
Top achievements
Rank 1
Answers by
Pero
Telerik team
Share this question
or