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

Can DockState be overloaded?

1 Answer 37 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Lina
Top achievements
Rank 1
Lina asked on 01 Feb 2008, 07:50 PM
Hi, I'm new to the Docking controls but I was wondering if it is possible to overload the DockState with some more data that is specific to layout of my application.

It would be great if the existing architecture of loading/saving DockLayout could be used to load/save other info like parameters that need to be passed to a control inside the Dock.

So, for instance, if a user selects a date in a calendar that exist inside the RadDock, can I add it to the DockState so that on postback it is remembered and the date is selected next time it loads?

Thanks,
Lina

1 Answer, 1 is accepted

Sort by
0
Accepted
Petya
Telerik team
answered on 04 Feb 2008, 11:16 AM
Hi Lina,

You could take advantage of the Tag property of RadDock which is saved in the DockState state as well - it is provided especially for the developers to store any custom value concerning each dock. Hope this helps.

Best wishes,
Petya
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
Lina
Top achievements
Rank 1
Answers by
Petya
Telerik team
Share this question
or