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

2 posts, 0 answers
  1. Palanivelrajan
    Palanivelrajan avatar
    27 posts
    Member since:
    Oct 2012

    Posted 08 May 2013 Link to this post

    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">
                                <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'">

    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
  , "ParentUserListDialog");

    Thanks and Regards
  2. Marin Bratanov
    Marin Bratanov avatar
    3555 posts

    Posted 10 May 2013 Link to this post


    This article explains how you can open a RadWindow: You can see there that the first argument window.radopen() and 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.
  3. DevCraft R3 2016 release webinar banner
Back to Top