Clone RadDock

2 posts, 0 answers
  1. Pedro
    Pedro avatar
    21 posts
    Member since:
    Mar 2008

    Posted 22 Jul 2008 Link to this post

    How can I clone or make a copy of RadDock object in client side?

  2. Sophy
    Sophy avatar
    636 posts

    Posted 22 Jul 2008 Link to this post

    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,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top