This is a migrated thread and some comments may be shown as answers.

[Solved] RadWindow Q1 2008

1 Answer 73 Views
Window
This is a migrated thread and some comments may be shown as answers.
Sasa
Top achievements
Rank 1
Sasa asked on 24 Apr 2008, 12:39 PM

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> 

1 Answer, 1 is accepted

Sort by
0
Sasa
Top achievements
Rank 1
answered on 24 Apr 2008, 12:52 PM
Disregard this.

I've stumbled upon this article: http://www.telerik.com/community/forums/thread/b311D-bdbght.aspx, which solves this problem for me.
Tags
Window
Asked by
Sasa
Top achievements
Rank 1
Answers by
Sasa
Top achievements
Rank 1
Share this question
or