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

Closing Docks

1 Answer 78 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Petrusilius
Top achievements
Rank 1
Petrusilius asked on 15 Aug 2007, 10:12 AM
On you example of the my portal site you don't really destroy the objects after closing em! What i want to know is, is it possible to close a dock, remove it from the server side dock state list and recreate it with his old id?

An example would be to show only one calculator or only one horoscope and this widget should always have the same id.

1 Answer, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 16 Aug 2007, 02:06 PM
Hi Petrusilius,

Actually, in our example once the dock is closed it is never recreated because of

if (CurrentDockStates[i].Closed == false) check we make in Init() so it is not on your page.

If all that matters for you is to have the docks always be recreated with the same IDs then you can save/load state including their ID from a database as shown in this thread.

Please, provide more specific information about your scenario so we can be more concrete in how to achieve it.

Regards,
Petya
the Telerik team

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