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.
Unfortunately, activation email could not send to your email. Please try again.

TabControl for navigation purpose only

Thread ID:

Created:

Updated:

Platform:

Replies:

53188 Dec 10,2006 02:05 PM Dec 11,2006 12:05 PM Windows Forms 4
loading
Tags: Tools
Qingjun Wei
Asked On December 10, 2006 02:05 PM

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 12:16 AM

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 10:07 AM

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 11:14 AM

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 12:05 PM


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.

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.

;