Hi
I am trying to implement within an Image Viewing application, a Radwindow which opens on the click of a button.
The main window is a div which contains two other divs - a left "sidebar" and a right "viewer"
The sidebar contains navigation buttons and links and the viewer panel contains a java applet which handles the image viewing.
During page load, the user controls are added to the placeholders.
In order for this to work, it appears I need to declare the RadWindow in BOTH the main aspx page AND the ascx page.
Is this correct? I have searched various topics, but perhaps I have missed something.
Regards
Roger
I am trying to implement within an Image Viewing application, a Radwindow which opens on the click of a button.
The main window is a div which contains two other divs - a left "sidebar" and a right "viewer"
<div id="container"> <asp:Panel ID="sidebar" runat="server"> <asp:PlaceHolder ID="phSideBar" runat="server"></asp:PlaceHolder> </asp:Panel> <asp:Panel ID="viewer" runat="server"> <asp:PlaceHolder ID="phViewer" runat="server"></asp:PlaceHolder> </asp:Panel> </div>The sidebar contains navigation buttons and links and the viewer panel contains a java applet which handles the image viewing.
During page load, the user controls are added to the placeholders.
protected void Page_Load(object sender, EventArgs e){ System.Web.UI.Control contSideBar = (System.Web.UI.Control)LoadControl("vwDisplayTest.ascx"); phSideBar.Controls.Add(contSideBar); // Add Navigation Control to side bar
System.Web.UI.Control contHardCopyOrdering = (System.Web.UI.Control)LoadControl("vwHardCopy.ascx"); phSideBar.Controls.Add(contHardCopyOrdering); // Add Order button Control to SideBar phSideBar }In order for this to work, it appears I need to declare the RadWindow in BOTH the main aspx page AND the ascx page.
Is this correct? I have searched various topics, but perhaps I have missed something.
Regards
Roger