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. Image for the cookie policy date

Tab Control Adv functionality

Hi,

I need to open several user control in the DockingClientPanel.
I want to show the opened user controls the same way VS do it and as you do this in the example Visual Studio.NET Demo.

Can you make a simple example that only do this functionality.
I also want the close button.

I attached a file with some marking on it.

Thanks,
Ronnie


180.zip

3 Replies

MU Murugan Syncfusion Team January 25, 2007 04:00 PM UTC

Hi Ronnie,

In VSDemo sample, we have used TabbedMDIManager and DockingManager to achieve your requirements. When TabbedMDIManager is used, Calling DockingManager.SetAsMDIChild() opens the UserControl as TabbedDocument.

Here is the code snippet :

private void button1_Click(object sender, EventArgs e)
{

UCTextArea uc1 = new UCTextArea();
this.dockingManager1.SetEnableDocking(uc1, true);
this.dockingManager1.SetAsMDIChild(uc1, true);

}

I have also attached the sample. Please have look at the sample and let me know if it helps.

TDM_TabbedMDIChild

Thanks for using Syncfusion products.

Regards,
Murugan P.S


RK Ronnie Kleinfeld January 26, 2007 09:16 PM UTC

Hi,

Thanks for your reply.

This example is not good for my project.
My application is an mdi application and the form that contains the docking manager is a MdiChildForm.
Windows cannot handle mdi inside mdi thus your sample fails on run time.

Maybe you have another sample?

Thanks,
Ronnie


MU Murugan Syncfusion Team January 29, 2007 10:18 PM UTC

Hi Ronnie,

Sorry for the inconvenience caused. In MDIChild forms we could not create TabbedMDIDocument. It is not supported by Windows. TabbedMDIDocument can be created only on MDIParent form not in MDIChild forms.

Thanks for your patience.

Regards,
Murugan P.S

Loader.
Live Chat Icon For mobile
Up arrow icon