Hi Nedu,
1. I want one of the panels to always fill the entire client area.
To fill the entire client area, could you please set DockingManager.DockToFill to true.
[Code]
this.dockingManager1.DockToFill = true;
2. I want a label, button or linkbutton at the top of the page for handling the second panel when this link is clicked two things can happen depending on the state of the second panel. If the second panel is visible, it becomes closed. If on the other hand the second panel is closed, it becomes opened.
This could be achieved by using the SetDockVisiblity method of the DockingManager in the button click event handler.
[Code]
private void button1_Click(object sender, EventArgs e)
{
if (this.dockingManager1.GetDockVisibility(this.panel2))
{
this.dockingManager1.SetDockVisibility(this.panel2, false);
this.button1.Text = "Show Panel2";
}
else
{
this.dockingManager1.SetDockVisibility(this.panel2, true);
this.button1.Text = "Hide Panel2";
}
}
3. I also want to remove the docking, autohide and close buttons for both panels
Could you please set false to AutoHideEnabled, CloseEnabled and MenuButtonEnabled properties of the dockingManager.
[Code]
this.dockingManager1.AutoHideEnabled = false;
this.dockingManager1.CloseEnabled = false;
this.dockingManager1.MenuButtonEnabled = false;
[Sample]
http://websamples.syncfusion.com/samples/Tools.Windows/F62101/Main.htmThank you for your interest in Syncfusion products.
Regards,
Murugan P.S