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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TabControlAdv Change Order of TabPage

Thread ID:

Created:

Updated:

Platform:

Replies:

74094 May 29,2008 03:10 PM UTC May 30,2008 03:55 AM UTC WinForms 1
loading
Tags: Tools
John Slater
Asked On May 29, 2008 03:10 PM UTC

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.


Mano J [Syncfusion]
Replied On 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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;