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.

Access TabControlAdv residing within DockingClientPanel

Thread ID:

Created:

Updated:

Platform:

Replies:

104529 Jul 26,2012 07:06 PM Jul 27,2012 12:57 AM Windows Forms 2
loading
Tags: Tools
Chris Sammons
Asked On July 26, 2012 07:06 PM

I'm trying to access the TabControlAdv control that resides within a User Control in a DockingClient Panel, so that I may iterate through the tabs to create a "collection" of tab names.  The heirarchy of the controls are as follows:
 
Main Form -> DockingManager -> DockingClientPanel -> User Control (Form) -> TabControlAdv
 
How can I access the TabControlAdv within the user control?  This is all being done in C#.  Any help would be greatly appreciated.  Thanks.

Chris Sammons
Replied On July 26, 2012 07:19 PM

Correction, the hieracrchy of the controls are:
 
Main Form -> DockingManager -> DockingClientPanel -> User Control (Form) -> splitContainerAdv -> TabControlAdv
 
The TabControlAdv resides in Panel 1 of the splitContainerAdv

Selva Ganapathy K [Syncfusion]
Replied On July 27, 2012 12:57 AM

Hi Chris,

 

Thank you for your interest in Syncfusion product.

 

You can access the "TabcontrolAdv" with the user control from "Form" by declaring the "TabControlAdv" as "public" or "internal" as per the following code snippet. Also I have attached a sample that demonstrate the same.

 

[C#]

 internal Syncfusion.Windows.Forms.Tools.TabControlAdv tabControlAdv1;

 

Please let us know if you have any concerns.

 

Regards,

 

Selva Ganapathy K



TabControlAdv_fa0dcdca.zip

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.

;