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

How to sort tab pages in TabControlAdv?

Thread ID:





36196 Oct 21,2005 08:02 PM UTC Oct 22,2005 06:51 AM UTC WinForms 1
Tags: Tools
Administrator [Syncfusion]
Asked On October 21, 2005 08:02 PM UTC

(Using v3.2.1) I would like to programmatically adjust the sequence of tab pages in a tab control AFTER the tab pages have been loaded. Is there any way to do this besides removing and re-adding the pages to the tab control? Thanks, s.s.

Mano J [Syncfusion]
Replied On October 22, 2005 06:51 AM UTC

Hi Steve, The TabPages gets arranged in the order as they are added. To change the sequence of pages, you have to clear the tabPages and re-add them in the order you desired as shown in the following code snippet this.tabControlAdv1.TabPages.Clear(); this.tabControlAdv1.Controls.AddRange(new System.Windows.Forms.Control[] { this.tabPageAdv1, this.tabPageAdv3, this.tabPageAdv5, this.tabPageAdv4, this.tabPageAdv2}); Please refer to the sample attached that illustrates this issue and let me know if you have any questions. Thanks for using Syncfusion products. Regards, Mano F36196.zip


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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