Is it possible? For example, the page iFrameModalDemo.aspx is the parent page that loads Default.aspx. Is it possible for Default.aspx to open another RadWindow? W/ the markup below...when Default.aspx is loaded into a RadWindow and its buttons are clicked, a postback occurs instead of opening a RadWindow.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="iFrameModalDemo.aspx.cs" Inherits="iFrameModalDemo" %> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml" > |
<head runat="server"> |
<title>Untitled Page</title> |
</head> |
<body> |
<form id="form1" runat="server"> |
<rad:RadWindowManager runat="server"> |
<Windows> |
<rad:RadWindow runat="server" Behavior="Default" InitialBehavior="None" Left="" |
NavigateUrl="http://www.telerik.com" style="display:none;" Title="Window" |
Top="" OpenerElementID="btnTelerik"> |
</rad:RadWindow> |
<rad:RadWindow ID="rwDialog" runat="server" Behavior="Default" |
InitialBehavior="None" Left="" Modal="True" NavigateUrl="Default.aspx" |
style="display:none;" Top="" OpenerElementID="btnDialog"> |
</rad:RadWindow> |
</Windows> |
</rad:RadWindowManager> |
<asp:Button ID="btnTelerik" runat="server" Text="Telerik" /> |
<asp:Button ID="btnDialog" runat="server" Text="Dialog" /> |
</form> |
</body> |
</html> |
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Default" %> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml" > |
<head runat="server"> |
<title>Untitled Page</title> |
</head> |
<body> |
<form id="form1" runat="server"> |
<rad:RadWindowManager runat="server"> |
<Windows> |
<rad:RadWindow runat="server" Behavior="Default" InitialBehavior="None" Left="" |
NavigateUrl="http://www.telerik.com" style="display:none;" Title="Window" |
Top="" OpenerElementID="btnTelerik"> |
</rad:RadWindow> |
<rad:RadWindow ID="rwDialog" runat="server" Behavior="Default" |
InitialBehavior="None" Left="" Modal="True" NavigateUrl="Default.aspx" |
style="display:none;" Top="" OpenerElementID="btnDialog"> |
</rad:RadWindow> |
</Windows> |
</rad:RadWindowManager> |
<asp:Button ID="btnTelerik" runat="server" Text="Telerik" /> |
<asp:Button ID="btnDialog" runat="server" Text="Dialog" /> |
</form> |
</body> |
</html> |