The cspbSetHeight function is used to control the overall height of the PanelBar.

Parameters

Height
The height in pixels.

Return Value

none

Remarks

The height of the PanelBar can be controlled at the client with this function only when the ExpandMode property is SingleGroupCalculatedHeight.

This can be very useful if you want to dynamically adjust the height of the PanelBar based on client-side variables, such as the browser's window height. After invoking cspbSetHeight(height), you will need to invoke cspbRefresh() in order to update the PanelBar display (Note: if you are adjusting PanelBar's height during a window resize, then cspbRefresh() should already be getting invoked by the browser's Resize event).


Copyright © Coalesys, Inc.