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

Adding new Tab programmatly

3 Answers 72 Views
Tabstrip (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Marturo77
Top achievements
Rank 1
Marturo77 asked on 22 May 2007, 02:35 PM
Hi, i'm new in your controls. 

I need know how i can add an new tab with code in the radTabStrip.

Thanks

3 Answers, 1 is accepted

Sort by
0
Boyko Markov
Telerik team
answered on 22 May 2007, 04:41 PM
Hi Arturo Duarte,

The solution is to create a new instance of TabItem and then add it to the items collection of your TabStrip. You could use the following code block as an example:
 
TabItem item = new TabItem("new tab"); 
this.radTabStrip1.Items.Add(item); 


Regards,
Ray
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
kdev
Top achievements
Rank 1
answered on 22 May 2007, 04:48 PM
Hi,

Can we serialize in XML the collection of TabStrip and the controls inside ?
especially the new tab added by code.

Thanks
0
Boyko Markov
Telerik team
answered on 23 May 2007, 11:29 AM
Hi David,

At present we do not support XML serialization but it would be added to our To Do list for the upcoming releases.

If you have more questions about our controls please feel free to write back.


All the best,
Ray
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Tabstrip (obsolete as of Q2 2010)
Asked by
Marturo77
Top achievements
Rank 1
Answers by
Boyko Markov
Telerik team
kdev
Top achievements
Rank 1
Share this question
or