1) The documentation for RadDock client object specifies thet get_width returns an integer. This is not quite true as it returns a string width 'px' at the back. Would be nice if it would return an int.
2) Is there a way to add floating RadDocks to a page without involving a RadDockZone? What I do now is that I do a dock followed by a undock in order to display the floating RadDock. Is there a way to simply display these docks without docking them first. I tried set_visible, but that didn't do anything.
2) Is there a way to add floating RadDocks to a page without involving a RadDockZone? What I do now is that I do a dock followed by a undock in order to display the floating RadDock. Is there a way to simply display these docks without docking them first. I tried set_visible, but that didn't do anything.
ScriptManager.RegisterStartupScript( |
dock, |
this.GetType(), |
"AddDock", |
string.Format(@"function _addDock() {{ |
Sys.Application.remove_load(_addDock); |
$find('{1}').dock($find('{0}')); |
$find('{0}').undock(); |
$find('{0}').doPostBack('DockPositionChanged'); per = 1; dockids[dockids.length] = $find('{0}'); |
}}; |
Sys.Application.add_load(_addDock);", dock.ClientID, dockZone1.ClientID), |
true); |