We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

TabControlAdv Change Order of TabPage

I am dynamically adding Tab Pages to a TabControlAdv, and would like to have the ability to change the order of the Tabs later on based on criteria I will collect from user input. I am unclear on the proper way to do this.


1 Reply

MJ Mano J Syncfusion Team May 30, 2008 03:55 AM UTC

Hi,

You have to clear the tabpages and re-add them in the desired order.


this.tabControlAdv1.TabPages.Clear();

this.tabControlAdv1.TabPages.AddRange(new TabPageAdv[]
{
this.tabPageAdv4,
this.tabPageAdv3,
this.tabPageAdv2,
this.tabPageAdv1
});



Thanks,
Mano


Loader.
Live Chat Icon For mobile
Up arrow icon