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.
I've just upgraded the Essential Suite to version 1.5, and am suddenly getting problems with the docking manager. I am using it on an MDI parent form, and the problem is that the child forms are hidden under the docked panels. It seems like if the forms don't notice the docked panels. I want to have it like it was before, when it was impossible for a form to be placed under the docked panels.
Are there any new properties that have to be set to avoid this, or is it maybe me that are doing it the wrong way? I'm using the DockControl method to dock the panels.
Thanls in advance!
Regards,
Atle Bjelland
PSPrakash S Syncfusion Team November 13, 2002 09:13 PM UTC
Hi Atle,
I just ran a few tests with the MDIDemo/VSDemo samples and they all appear to work normally. Please send us a sample that shows the problem. This will make it much simpler to proceed on this issue.
Thanks,
Prakash
Syncfusion, Inc.
ABAtle BjellandNovember 14, 2002 04:30 AM UTC
Here is a very simple example which demonstrates the problem.
-Atle Bjelland
PSPrakash S Syncfusion Team November 14, 2002 06:00 PM UTC
Hi Atle,
Thank you for sending the sample. I was able to reproduce the problem, and a QA report has been logged. We will fix the problem ASAP, and the fix should be available in the monthly fixes patch that should be going out around the 22nd of this month.
A temporary workaround would be for you to use just the designer for setting up your docking layout or if this is not a viable option, then to just use a temporary docked control within the designer and remove this control before you call DockingManager.DockControl on the rest of the programmatically docked controls. The preferred method for initializing docking windows is from an event handler for the DockingManager.NewDockStateEndLoad event.
Check out the following Essential Tools KB article - http://www.syncfusion.com/KB/Tools/Tools_c35c.asp#q564q.
The code snippet shows an implementation for a NewDockStateEndLoad event handler with the above workaround in your sample,
Private Sub DockingManager1_NewDockStateEndLoad(ByVal sender As Object, ByVal e As System.EventArgs) Handles DockingManager1.NewDockStateEndLoad
' Temporary docking window added within the designer can be removed if not needed
Me.DockingManager1.SetEnableDocking(Me.ListBox2, False)
' Your custom initialization follows
Dim Panel As New System.Windows.Forms.UserControl()
With Me.DockingManager1
.DockControl(Panel, Me, Syncfusion.Windows.Forms.Tools.DockingStyle.Left, Panel.Width)
End With
End Sub
Please let us know if you have any trouble with the implementation.
Prakash
Syncfusion, Inc.