Hi,
I am trying to resize the Raddoc at codebehind. But its not working.
Can we resize "RadDockZone" also ??
waiting for reply...!!!
I am trying to resize the Raddoc at codebehind. But its not working.
<
telerik:RadDockLayout
runat
=
"server"
ID
=
"RadDockLayout1"
OnSaveDockLayout
=
"RadDockLayout1_SaveDockLayout"
OnLoadDockLayout
=
"RadDockLayout1_LoadDockLayout"
>
<
telerik:RadDockZone
runat
=
"server"
ID
=
"RadDockZone1"
Width
=
"300"
MinHeight
=
"500"
Style
=
"float: left; margin-right: 15px"
>
</
telerik:RadDockZone
>
<
telerik:RadDockZone
runat
=
"server"
ID
=
"RadDockZone2"
Width
=
"300"
MinHeight
=
"300"
Style
=
"float: left; margin-right: 15px; background: #f5f4e8;"
>
</
telerik:RadDockZone
>
<
telerik:RadDockZone
runat
=
"server"
ID
=
"RadDockZone3"
Width
=
"300"
MinHeight
=
"300"
Style
=
"background: #d5f0fa; float: left;"
>
</
telerik:RadDockZone
>
</
telerik:RadDockLayout
>
private RadDock CreateRadDock()
{
int docksCount = CurrentDockStates.Count;
RadDock dock = new RadDock();
dock.DockMode = DockMode.Docked;
dock.UniqueName = Guid.NewGuid().ToString().Replace("-", "a");
dock.ID = string.Format("RadDock{0}", dock.UniqueName);
dock.Title = txtDocTitle.Text;
dock.Text = string.Format("Added at {0}", DateTime.Now);
dock.Resizable = true;
dock.Commands.Add(new DockCloseCommand());
dock.Commands.Add(new DockExpandCollapseCommand());
return dock;
}
Can we resize "RadDockZone" also ??
waiting for reply...!!!