Dynamicly create new tab and copy controls to it from existing tab

Thread is closed for posting
2 posts, 0 answers
  1. John Hamman
    John Hamman avatar
    10 posts
    Member since:
    Feb 2006

    Posted 26 Mar 2008 Link to this post

    Hi all,
    I want to the user to press a button and it will create a new tab. The controls on that new tab will be the exact controls of the existing tab, plus I want to copy some content over from the old to the new. How do I create a new tab dynamically with the same page layout and controls of an existing tab?
  2. Nikolay
    Nikolay avatar
    1805 posts

    Posted 01 Apr 2008 Link to this post

    Hi John Hamman,

    I am sorry for the delayed response.

    You cannot directly copy the controls from one tab's content panel to another. However, the approach you can use is to associate the whole content panel from one tab to another. The content panel is not copied, but it is rather associated to the different tabs. I am attaching a sample project which demonstrates this approach.

    There is also another approach related to moving the controls themselves, but not the whole content panel. I have demonstrated this in a separate project.

    If you have additional questions, do not hesitate to contact me.

    Kind regards,
    the Telerik team

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