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

How to Show Modal Window(RadWindow) outside the IFrame When Grid is inside IFrame

1 Answer 321 Views
Window
This is a migrated thread and some comments may be shown as answers.
Palanivelrajan
Top achievements
Rank 1
Palanivelrajan asked on 08 May 2013, 02:39 PM
Dear All,

I have page1.aspx that has many IFrame and linked one aspx(page2.aspx, page3.aspx amd so on). Each fram has one rad grid in it with navigate URl. onclicking that url it should open modal popu(Rad windows) outside the iframe and on page1.aspx

I have added this in page1.aspx and access this in page2.aspx to open Modal Windows outside the IFrame. I saw example in internet that has nvigate URL in telerik:RadWindow  Tag in Design time. but for me I am passing Qurystring to the URL which is available at run time.
I can give URL with Query string during Run Time based on the row clicked in the grid.


<telerik:RadWindowManager ID="ParentRadWindowManager1" runat="server" EnableShadow="true"
                        Style="z-index: 7000">
                        <Windows>
                            <telerik:RadWindow ID="ParentUserListDialog" runat="server" Title="View record" ReloadOnShow="true"
                                ShowContentDuringLoad="false" Modal="true" BorderStyle="None" NavigateUrl="~/web/Transaction/OPMS_UI_Goals.aspx?KeyValue='2' &GoalId='201301002' &Source='DBrd'">
                            </telerik:RadWindow>
                        </Windows>
                    </telerik:RadWindowManager>

In each Iframe Page. This function is added as given below.
I want to give Navigate URL with Query string here. Kindly guide me on this.

<script type="text/javascript">
    function openWin() {
        var oManager = window.parent.GetRadWindowManager();
        //Show a particular existing window
        oManager.open(null, "ParentUserListDialog");
    }
</script>


Thanks and Regards
L.Palanivelrajan

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 10 May 2013, 12:40 PM
Hello,

This article explains how you can open a RadWindow: http://www.telerik.com/help/aspnet-ajax/window-programming-opening.html. You can see there that the first argument window.radopen() and RadWindowManagerIstance.open() accept is the URL that will be opened in the RadWindow.


Kind regards,
Marin Bratanov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Window
Asked by
Palanivelrajan
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or