Webpane collapse

7 replies. Last post: September 10, 2012 12:40 AM by Yudi
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Ricardo ReisMember

I have a page with WebPaneManager and inside i have 2 WebPanes.

 

Im trying to load the page with the first pane collapsed, but i've not been successfull.

 

In page onload im doing:

 

var paneManager = ISGetObject("WebPaneManager1"); var pane = paneManager.GetPaneByName("menus");

pane.Collapse();

if (pane.IsCollapsed() == false) {

// not collapsed

}

 

The pane.collapse() method is not working.

 

Tanks for the help

All times are GMT -5. The time now is 9:39 PM.
Previous Next