Hello,
I'm using the RadMenu to open the RadWindow. I'm setting the onclick to a javascript function when the menu item should open a new page, if it should navigate to a different page I use the NavigationURL. The server side code dynamically adds the windows to the RadWindowManager based on my Menu.
I would like one of my pages to appear as a modal dialog which dims the parent window (this works great), but I would like another menu item to open a new window that is outside of the parent window. Is this possible? All of the examples of the RadWindow I've seen only allow the window to be inside the page window - is it possible to spawn a new "blank" window?
Server Side (Dynamically Creating Windows):
RadWindow rw = new RadWindow();
rw.ID = "Window" + menuItem.Uid;
[excluded settings here...]
RadWindowManager1.Windows.Add(rw);
newMenuItem.Attributes.Add("onclick", "OpenWindow('"+ menuItem.Uid + "');");
<script type="text/javascript">
function OpenWindow(menuId) {
radopen(null,'Window'+menuId);
return false;
}
</script>
<telerik:RadMenu ID="mnuRoot" runat="server" Skin="CustomMenu" EnableEmbeddedSkins="false" Width="100%">
</telerik:RadMenu>
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Default">
</telerik:RadWindowManager>
Thanks,
Nathan
I'm using the RadMenu to open the RadWindow. I'm setting the onclick to a javascript function when the menu item should open a new page, if it should navigate to a different page I use the NavigationURL. The server side code dynamically adds the windows to the RadWindowManager based on my Menu.
I would like one of my pages to appear as a modal dialog which dims the parent window (this works great), but I would like another menu item to open a new window that is outside of the parent window. Is this possible? All of the examples of the RadWindow I've seen only allow the window to be inside the page window - is it possible to spawn a new "blank" window?
Server Side (Dynamically Creating Windows):
RadWindow rw = new RadWindow();
rw.ID = "Window" + menuItem.Uid;
[excluded settings here...]
RadWindowManager1.Windows.Add(rw);
newMenuItem.Attributes.Add("onclick", "OpenWindow('"+ menuItem.Uid + "');");
<script type="text/javascript">
function OpenWindow(menuId) {
radopen(null,'Window'+menuId);
return false;
}
</script>
<telerik:RadMenu ID="mnuRoot" runat="server" Skin="CustomMenu" EnableEmbeddedSkins="false" Width="100%">
</telerik:RadMenu>
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Default">
</telerik:RadWindowManager>
Thanks,
Nathan