This is a migrated thread and some comments may be shown as answers.
Clone RadDock
1 Answer 28 Views
This is a migrated thread and some comments may be shown as answers.
Pedro
Top achievements
Rank 1
Pedro asked on 22 Jul 2008, 10:37 AM
How can I clone or make a copy of RadDock object in client side?

Pedro

1 Answer, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 22 Jul 2008, 11:07 AM
Hi Pedro,

RadDock cannot be created or cloned on the client with JavaScript, because the RadDock control has a server side rendering and creating/cloning it client-side may confuse its proper functioning. 
The RadDock controls can be dynamically created at the Init event of the page in order to allow the RadDockLayout to automatically manage their positions or at a later stage (in other events), but in this case they should be recreated at Init when the next postback or AJAX request occurs. You can use the Dynamically Created Docks online example for reference.

If you have other questions, do contact us again.

All the best,
Sophy
the Telerik team

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