Creating tab items dynamically with full validation

2 posts, 0 answers
  1. Avinash
    Avinash avatar
    31 posts
    Member since:
    May 2015

    Posted 25 Aug 2015 Link to this post


    I have to create a simple page that display same group of controls in a tab item multiple times. Idea is that user can click a button and create a copy of that UI multiple times. 

    Is there a way to do it without creating a user control? A simple way to create a copy of the selected tab will be helpful. Kindly let me know if there is any possibility to do so.

  2. Kiril Vandov
    Kiril Vandov avatar
    323 posts

    Posted 27 Aug 2015 Link to this post

    Hello Avinash,

    In case that you want to allow the users to add the same Content as the current one in the tab is by defining the content in different UserControl (just like you mentioned) and adding another copy when the user request it. This is the cleanest and safest way.
    Another possible approach would be to try and create a DeepCopy of the elements that you want to copy, please take in mind that this approach might not work in all cases.

    I hope this information helps. Please let us know if you need further assistance.

    Kind regards,
    Kiril Vandov
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top