Radwindow and URL Rewriter.net

2 posts, 0 answers
  1. mac
    mac avatar
    137 posts
    Member since:
    May 2008

    Posted 26 Oct 2010 Link to this post

    hi. I am trying to use the url rewriter.net module and it works fine. However when I try to use my radwindow / radwindow manager it essentially tries to load the parent page into the popup. Weird. As soon as i disable the rewriter in the config the functionality is exactly as expected. Any thoughts on how to fix this issue?

       <script type="text/javascript">
            function OpenPositionedWindow(oButton, url, windowName)
                var oWnd = window.radopen(url,windowName);
        function openRadWindow(CustomerID)
                var oWnd = radopen("ImageManager.aspx?PageID=" + CustomerID, "RadWindow1" );



    <telerik:RadWindowManager ReloadOnShow="true" ShowContentDuringLoad="false" AutoSize="true"




    EnableShadow="true" ID="RadWindowManager1"




    Width="900px" Height="200px" runat="server">







    <a href="#"




    onclick="openRadWindow('<%# DataBinder.Eval(Container.DataItem, "PageID") %>'); return false;">Image Manager </a>


  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 27 Oct 2010 Link to this post

    Hi Mac,

    I don't know how you have configured the rewriter, but I am not sure if the problem is related to the RadWindow control. Try using a standard IFRAME instead and see how it will behave.
    For example:

    <form id="form1" runat="server">
    <asp:ScriptManager ID="sm1" runat="server">
    <script type="text/javascript">
        function openRadWindow(CustomerID)
            //var oWnd = radopen("ImageManager.aspx?PageID=" + CustomerID, "RadWindow1");
            var myframe = $get("myframe");
            myframe.src = "ImageManager.aspx?PageID=" + CustomerID;
    <iframe id="myframe"></iframe>
    <a href="javascript:void(0);" onclick="openRadWindow('<%# DataBinder.Eval(Container.DataItem, "PageID") %>'); return false;">
        Image Manager </a>

    If the problem persists when using and IFRAME, you need to configure the rewriter accordingly. If the problem exists only when a RadWindow is used, please open a support ticket and send us a sample project where we could reproduce the problem and examine your setup closely.

    Best wishes,
    Georgi Tunev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top