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

TabControl for navigation purpose only

Thread ID:

Created:

Updated:

Platform:

Replies:

53188 Dec 10,2006 07:05 PM UTC Dec 11,2006 05:05 PM UTC WinForms 4
loading
Tags: Tools
Qingjun Wei
Asked On December 10, 2006 07:05 PM UTC

I'm looking for a way to use tabs for navigation purpose only, something like a TabControlAdv with multiple tabs but only one TagPageAdv.
Basically I just want a control that is able to display multiple tabs. The application is responsible for updating the content in the single tab page when user selects a different tab.
Is there anyway I can use SyncFusion library to do that?

Anupama Roy [Syncfusion]
Replied On December 11, 2006 05:16 AM UTC

Hi Qingjun,

You can include multiple tabs using the Add button in the TabPages editor.If you would like to hide the pages associated with the Tab header,you can set the SelectedTab property of TabControlAdv to the page that you would like to display.

private void tabControlAdv1_SelectedIndexChanged(object sender, System.EventArgs e)
{

this.tabControlAdv1.SelectedTab = this.tabPageAdv1;


}


Kindly have a look at the sample attached and let me know whether it meets your requirement.

View


Thanks for your interest in Syncfusion products.

Regards,

Anu.

Qingjun Wei
Replied On December 11, 2006 03:07 PM UTC

Hi Anu,
Thanks for your quick reply. But it's not quite what I wanted.
In the example, once the tabpage is hidden the tab can not be selected any more. However I need the tabs still selectable with only one tab page.

Regards
Qingjun


>Hi Qingjun,

You can include multiple tabs using the Add button in the TabPages editor.If you would like to hide the pages associated with the Tab header,you can set the SelectedTab property of TabControlAdv to the page that you would like to display.

private void tabControlAdv1_SelectedIndexChanged(object sender, System.EventArgs e)
{

this.tabControlAdv1.SelectedTab = this.tabPageAdv1;


}


Kindly have a look at the sample attached and let me know whether it meets your requirement.

View


Thanks for your interest in Syncfusion products.

Regards,

Anu.

Qingjun Wei
Replied On December 11, 2006 04:14 PM UTC

Thanks Anu,
I modified the program to reorganize the indices in TagPages in run time.
Now the problem is solved.



>Hi Anu,
Thanks for your quick reply. But it's not quite what I wanted.
In the example, once the tabpage is hidden the tab can not be selected any more. However I need the tabs still selectable with only one tab page.

Regards
Qingjun


>Hi Qingjun,

You can include multiple tabs using the Add button in the TabPages editor.If you would like to hide the pages associated with the Tab header,you can set the SelectedTab property of TabControlAdv to the page that you would like to display.

private void tabControlAdv1_SelectedIndexChanged(object sender, System.EventArgs e)
{

this.tabControlAdv1.SelectedTab = this.tabPageAdv1;


}


Kindly have a look at the sample attached and let me know whether it meets your requirement.

View


Thanks for your interest in Syncfusion products.

Regards,

Anu.

Anupama Roy [Syncfusion]
Replied On December 11, 2006 05:05 PM UTC


Hi Qingjun,

We are glad to hear that the issue is resolved.

Best Regards,

Anu.

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

;