parameters lost when radopens page on another domain

3 posts, 0 answers
  1. Zenute Marins
    Zenute Marins avatar
    18 posts
    Member since:
    Nov 2009

    Posted 18 Oct 2011 Link to this post

    Hi,
    I´ve been trying to radopen an url  as follows:
    <telerik:RadCodeBlock ID="java" runat="server">
    <script type="text/javascript">

    function redebp(sender, args) {

    radopen("http://www.redebp.com.br/LoginUno.aspx?p=169","redebp")
    }

     

    The page is correctly load but parameter p is always null.

    If instead I open the same page on the same site as below,
    <telerik:RadCodeBlock ID="java" runat="server">
    <script type="text/javascript">

    function redebp(sender, args) {

    radopen("LoginUno.aspx?p=169,"redebp");

    }
    The page is correctly load as before, but now the parameter p holds the expected value (169).

    Can someone please explain this weird behaviour ?

    TIA



  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4752 posts

    Posted 20 Oct 2011 Link to this post

    Hello Zenute,

    I tried this code and it seems to be working as expected - the URL loaded in the iframe contains the querystring parameter that is passed: http://screencast.com/t/0qclOIR43. I am also attaching the page I tested with as a reference.

    If your issue is on the server-side then this behavior should not be related to the RadWindow as it cannot modify your page in any way. Please try loading your page in a simple iframe and see if it makes a difference whether you pass the full URL or a relative URL. If it does - then this must be some browser quirk on the way URLs are passed to iframes, although this is the first time it is being reported.


    Best wishes,
    Marin
    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. Zenute Marins
    Zenute Marins avatar
    18 posts
    Member since:
    Nov 2009

    Posted 05 Nov 2011 Link to this post

    Thank you Marin.
    We gave up passing parameters to radwindow. We decided to use a custom persistence method to share the parameters between pages.
Back to Top