How can I clone or make a copy of RadDock object in client side?
Pedro
1 Answer, 1 is accepted
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.