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.
Syncfusion Feedback

docking a form into another

Thread ID:

Created:

Updated:

Platform:

Replies:

91727 Nov 30,2009 03:49 PM UTC Dec 2,2009 10:54 AM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: Tools
Jonathan Richard
Asked On November 30, 2009 03:49 PM UTC

Hi,

is it possible to dock a Windows Form into another Windows Form? If yes, how? I only been able to dock a control into a Windows Form.

Thanks you

Nandakumar R [Syncfusion]
Replied On December 1, 2009 04:39 AM UTC

Hi,

Thanks for your interest in Syncfusion Essential Studio. Please refer to the following code on this.

[C#]
//Make the current Form an MDIContainer.
this.IsMdiContainer = true;

[C#]
//Setting for MDIChild to be dock enabled.
Form frm = new Form();
frm.Name = "ChildForm"
frm.TopLevel = false;
frm.FormBorderStyle = FormBorderStyle.None;
dockingManager1.SetEnableDocking(frm, true);
frm.Show();


[Sample]
http://www.syncfusion.com/uploads/redirect.aspx?file=DockingApplication_FormDockedInAForm_d40673b4.zip&team=support

Please try this and let me know if this helps.

Regards,
Nanda

Jonathan Richard
Replied On December 1, 2009 09:09 PM UTC

Yes it helps! Thank you for your quick reply

Jonathan

Rajasekar B [Syncfusion]
Replied On December 2, 2009 10:54 AM UTC

Hi,

Thanks for the update.

Thanks,
Rajasekar

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

;