The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Im using docking manager in an MDI application. In the application different form are docked in docking manager. I need to change a particular form (say form x) to modal dialog. I have added a menu item say MakeModal in the form which has to be made modal dialog (form x). In the MakeModal menuitem click event handler, I have removed the form from Docking manager by,
form.TopLevel = true;
form.Visible = false;
form.ShowDialog();
Now at some point of time in the application i need to dock the form again in the docking manager. To do this I have added the following code in the MakeDock menuItem event handler.
form.TopLevel = false;
this.dockingManager.DockControl(form, this, Syncfusion.Windows.Forms.Tools.DockingStyle.Bottom,150);
When i click MakeModal, I am able to make the form as modal. But when I again dock the form to the docking manager using MakeDock menuitem, I am not getting the form displayed. Kindly let me know whether it is possible to dock that form again in the docking manager.
ADAdministrator Syncfusion Team September 6, 2005 11:45 AM UTC
Sorry I have missed a line in the MakeModal menu item event handler,
this.dockingManager.SetEnableDocking(form,false);
form.TopLevel = true;
form.Visible = false;
form.ShowDialog();
VSVijayanand S Syncfusion Team September 8, 2005 09:06 AM UTC
Hi Suresh,
Please refer to this forum response: Docking form .
Thanks
Vijay