I am using the following sample codes to add a new dock to middle zone successfully. The issue is everytime the new dock is always added at the buttom of the middle zone.
Is there a way to add the new dock at the top of middle zone?
------------------
ScriptManager.RegisterStartupScript(
theDock,
this.GetType(),
"AddDock",
string.Format(@"function _addDock() {{
Sys.Application.remove_load(_addDock);
$find('{1}').dock($find('{0}'));
$find('{0}').doPostBack('DockPositionChanged');
}};
Sys.Application.add_load(_addDock);",
theDock.ClientID,
this.MiddleCustomZone.ClientID),
true);
CreateSaveStateTrigger(theDock);
-----------------
thanks,
Is there a way to add the new dock at the top of middle zone?
------------------
ScriptManager.RegisterStartupScript(
theDock,
this.GetType(),
"AddDock",
string.Format(@"function _addDock() {{
Sys.Application.remove_load(_addDock);
$find('{1}').dock($find('{0}'));
$find('{0}').doPostBack('DockPositionChanged');
}};
Sys.Application.add_load(_addDock);",
theDock.ClientID,
this.MiddleCustomZone.ClientID),
true);
CreateSaveStateTrigger(theDock);
-----------------
thanks,