Layoutpanel collapse

How can I collapse/expand layout panel with JavaScript On clientSide?

1 Reply

MW Melba Winshia Syncfusion Team July 10, 2009 12:12 PM UTC

Hi Forket,

Thank you for your interest in Syncfusion Products.

You can use below code to collapse/expand layout panel with JavaScript On clientSide:

[Javascript]

function ExpandFun() {

//_sfRootPanel is Client Object Id
_sfRootPanel.expand();


}

function CollpaseFun() {

//_sfRootPanel is Client Object Id
_sfRootPanel.collapse();

}

Please refer the sample in the below link which illustrates the above:

http://files.syncfusion.com/samples/Tools.Web/7.2.0.37/86619_Layout1/main.htm

Please try this and let me know if this helps.

Thanks,
Melba

Loader.
Up arrow icon