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.htmPlease try this and let me know if this helps.
Thanks,
Melba