Version

layout Method

Performs layout of panes. If that function is called before first painting, then action may fail.
Syntax
ASP.NET Ajax Javascript (Specification) 
function layout( 
   width : Integer,
   height : Integer
) : Boolean;
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfWebSplitter.layout(Integer,Integer);

Parameters

width
That parameter is used when required width of client area is already defined. That parameter is provided by LayoutManager.
height
That parameter is used when required height of client area is already defined. That parameter is provided by LayoutManager. Note: if width is not null, then height should be not null too.

Return Value

It returns true if action failed (before first painting). otherwise, it returns false or undefined.
See Also