Dear Aslam,
I think you might want to set the width of the panels based on the current width of the parent WebDock, instead of the screen size. (Because no matter how large the screen is, the size of the browser window might be smaller.)
In essence, to get the size of the WebDock control:
var container = ZCWD.GetContainer("<%= WebDock1.ClientID %>");
var dim = container.GetDimensions();
// Outer dimensions will be returned in dim.width and dim.height
To get a panel by ID, and set its width (actually its PreferredSize):
var panel = ZCWD.GetPanel("<%= LeftDockPanel.ClientID %>");
panel.SetPreferredSize(200);
You may also set the docking state with:
panel.SetDockingState(1);
Hope this can answer your query.
Regards,
Technical Support
ZettaCube Limited