This is a migrated thread and some comments may be shown as answers.

Creating tab items dynamically with full validation

1 Answer 95 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Avinash
Top achievements
Rank 1
Avinash asked on 25 Aug 2015, 06:54 AM

Hi,

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.

1 Answer, 1 is accepted

Sort by
0
Kiril Vandov
Telerik team
answered on 27 Aug 2015, 01:17 PM
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
Telerik
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
Tags
TabControl
Asked by
Avinash
Top achievements
Rank 1
Answers by
Kiril Vandov
Telerik team
Share this question
or