Adding new Tab programmatly

4 posts, 0 answers
  1. Marturo77
    Marturo77 avatar
    7 posts
    Member since:
    May 2007

    Posted 22 May 2007 Link to this post

    Hi, i'm new in your controls. 

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

    Thanks
  2. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 22 May 2007 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. kdev
    kdev avatar
    16 posts
    Member since:
    Apr 2007

    Posted 22 May 2007 Link to this post

    Hi,

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

    Thanks
  5. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 23 May 2007 Link to this post

    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
Back to Top