Hi,
I'm testing Telerik Suite which is my best choice actually.
I'm trying to reproduce a Window MDI BackOffice using ASP.NET with floating and dockable window. I have tried RadDock but in floating mode it becomes transparent hover some components as RadRibbonBar and Maximize, Minimize, Resize command are not already implemented on it.
So I decided to do that with RadWindow. I have read somewhere in the forum that RadWindow do not support loading UserControl. But I think it is now possible because I wrote the following code
Remark: Maybe it is because this is implemented also into usercontrol which is loaded in a MasterPage but when I set RestrictionZoneID in ASPX code on RadWindowManager. RadWindow are not restricted to this zone. I'm obliged to set viewPane.ClientID on Page_Load. It does not work also if I set viewPane.ID to RestrictionZoneID programmatically.
So my RadWindow load correctly my UserControl I have passed. In floating mode, the window is ok but if I maximize window I'm getting right padding. By using FireBug, it is rwWindowContent how manage this section but have set border, padding, margin to 0 but no change.
Another question will be on RadGrid loaded inside RadWindow, how to set RadGrid to fit height available. When I remove TitleBar, StatusBar of RadWindow and RadGrid ShowGroupPanel, RadGrid looks to have the right height.
I'm testing Telerik Suite which is my best choice actually.
I'm trying to reproduce a Window MDI BackOffice using ASP.NET with floating and dockable window. I have tried RadDock but in floating mode it becomes transparent hover some components as RadRibbonBar and Maximize, Minimize, Resize command are not already implemented on it.
So I decided to do that with RadWindow. I have read somewhere in the forum that RadWindow do not support loading UserControl. But I think it is now possible because I wrote the following code
protected override void Page_Load(object sender, EventArgs e){ base.Page_Load(sender, e); windowsManager.MinimizeZoneID = minimizeZone.ClientID; windowsManager.RestrictionZoneID = viewPane.ClientID;}public void OpenWindow(string name){ RadWindow window = new RadWindow(); window.ID = name; window.ContentTemplate = Page.LoadTemplate("~/ControlPanel/Views/" + name + ".ascx"); windowsManager.Windows.Add(window); window.VisibleOnPageLoad = true;}<div id="viewPane" runat="server" class="cellDiv" style="height:100%;"> <telerik:RadWindowManager ID="windowsManager" runat="server" Behaviors="Default" EnableShadow="true"> </telerik:RadWindowManager> <div id="minimizeZone" runat="server" class="minimizeZone"> </div></div>Remark: Maybe it is because this is implemented also into usercontrol which is loaded in a MasterPage but when I set RestrictionZoneID in ASPX code on RadWindowManager. RadWindow are not restricted to this zone. I'm obliged to set viewPane.ClientID on Page_Load. It does not work also if I set viewPane.ID to RestrictionZoneID programmatically.
So my RadWindow load correctly my UserControl I have passed. In floating mode, the window is ok but if I maximize window I'm getting right padding. By using FireBug, it is rwWindowContent how manage this section but have set border, padding, margin to 0 but no change.
Another question will be on RadGrid loaded inside RadWindow, how to set RadGrid to fit height available. When I remove TitleBar, StatusBar of RadWindow and RadGrid ShowGroupPanel, RadGrid looks to have the right height.