Problem with dockingManager

Hi,

I have a dockingmanger.I t contains a treecontrol.
it is docked to the left side of the window.
On the right side i have a GDBG.
On the load of the page i dont want the treecontrol on the window and i want it when i clicks some button.So i did like this

private void Exp_Load(object sender, EventArgs e)
{
this.dockingManager1.SetDockVisibility(this.loctree, false);
}

But this not working

And also i want one more thing.
I want the GDBG to be docked to the left initially and when i click the button which displays the treecontrol i want the GBDG to be shifted to the right for providing space for the treecontrol to display.
And when i close the dockmanager,i want the GDBG again to be docked to the left side.
Please help me..

1 Reply

PJ Poly J Syncfusion Team May 30, 2007 01:28 PM UTC

Hi Janesh,

You can hide the treeview control during loading of the form by setting the HideonLoad property of docking manager.

[C#]
this.dockingManager1.SetHiddenOnLoad(this.treeViewAdv1, true);

Please refer to the attached sample and let me know if you need more assistance with this incident.

http://websamples.syncfusion.com/samples/Tools.Windows/F61622/main.htm

Best regards,
Poly


Loader.
Up arrow icon