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

How to Open Regular Rad Window from RadWindow Model?

3 Answers 68 Views
Window
This is a migrated thread and some comments may be shown as answers.
System Administrator
Top achievements
Rank 1
System Administrator asked on 04 Apr 2014, 09:35 PM
Hi,
I have a one RadModel Dialog window.. From that model window how can i open a regular(big) Radwindow?

Problem Is: New Radwindow opens only inside that Model window

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 07 Apr 2014, 04:46 AM
Hi,

Please have a look into the sample code snippet which works fine at my end.

ASPX:
<telerik:RadWindow ID="ModalWindow" runat="server" Modal="true" VisibleOnPageLoad="true">
    <ContentTemplate>
        <telerik:RadButton ID="OpenWindow" runat="server" Text="OpenWin" AutoPostBack="false"
            OnClientClicked="OpenWin">
        </telerik:RadButton>
    </ContentTemplate>
</telerik:RadWindow>
<telerik:RadWindow ID="RegularWindow" runat="server">
    <ContentTemplate>
        <asp:Label ID="Label1" runat="server" Text="Regular Window">
        </asp:Label>
    </ContentTemplate>
</telerik:RadWindow>

JavaScript:
function OpenWin(sender, args) {
    var win = $find("<%=RegularWindow.ClientID %>");
    win.MoveTo(500, 400);
    win.show();
}

Let me know if you have any concern.
Thanks,
Princy.
0
System Administrator
Top achievements
Rank 1
answered on 07 Apr 2014, 09:33 PM
Thank you Princy for your reply.
I think you didn't understand my question.
I have a RadModel Window which  height is "250px" (and NO Maximize Button) and i want to open another Regular RadWindow Height = 700px from Model Window.
The Regular RadWindow  opens inside of the Model Window not as an like Window.Open
0
Marin Bratanov
Telerik team
answered on 09 Apr 2014, 09:41 AM

Hi guys,

I advise that you take a look at this help article that explains how to open a RadWindow from within another RadWIndow: http://www.telerik.com/help/aspnet-ajax/window-programming-opening-from-within-dialog.html. You can also see it in action in this demo: http://demos.telerik.com/aspnet-ajax/window/examples/dialogreturnvalue/defaultcs.aspx by examining the first dialog page.


Regards,

Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Window
Asked by
System Administrator
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
System Administrator
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or