Hello,
I'm trying to open a modal RadWindow from within one, but it just doesn't behave like one would expect it to. The following example used to work in "old" RadControls. I assumed this would be fixed when "Prometheus" was out of beta, but I guess this one slipped through.
Perhaps, I'm not doing this the right way?
Default.aspx:
| <script> |
| function OpenWin() |
| { |
| var oWnd = window.top.radopen("WebForm1.aspx", null); |
| } |
| </script> |
| <form id="form1" runat="server"> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager> |
| <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Modal="true"></telerik:RadWindowManager> |
| <asp:Button ID="ButtonWindowOpen" runat="server" Text="Open Window" OnClientClick="OpenWin(); return false;" /> |
| </form> |
WebForm1.aspx
| <script> |
| function OpenWin() |
| { |
| var oWnd = window.top.radopen("WebForm1.aspx", null); |
| } |
| </script> |
| <form id="form1" runat="server"> |
| <asp:Button ID="ButtonWindowOpen" runat="server" Text="Open Window" OnClientClick="OpenWin(); return false;" /> |
| </form> |