Problem With Opening Multiple Radwindow

2 posts, 0 answers
  1. Shrirang
    Shrirang avatar
    10 posts
    Member since:
    May 2009

    Posted 19 May 2009 Link to this post

    Hi,
        I am using two rad window objects .

    <

    telerik:RadWindowManager ID="RadWindowManager1" runat="server" Visible="true" ShowContentDuringLoad="false" CssClass="windowcontent"

     

     

    BackColor="AliceBlue" Skin="IELSkin" EnableEmbeddedSkins="false" ForeColor="#ff0033" VisibleStatusbar="false" Modal="true" ReloadOnShow="true" Behaviors="Resize,Maximize,Close" Width="350px" Height="300px">

     

     

    <Windows>

     

     

    <telerik:RadWindow ID="Radwindow1" runat="server" Modal="true" Width="440px" Height="290px" Title ="Upload File" Behavior="Minimize,Reload,Close" ></telerik:RadWindow>

     

     

    <telerik:RadWindow ID="Radwindow2" runat="server" VisibleStatusbar="false" Modal="true" Width="500px" Height="350px" Title ="Comments" Behavior="Minimize,Reload,Close" ></telerik:RadWindow>

     

     

    </Windows>

     

     

    </telerik:RadWindowManager>

    After opening both  windows i am getting following error
    Error: Sys.ArgumentOutOfRangeException: Value must be an integer.
    Parameter name: x
    Actual value was NaN.
    ---------------------------
    Yes   No  
    ---------------------------
    Due to two windows i am getting this error.
    If i used only single window it works fine.
    I am opening these windows in following way.

     

    window.radopen(

    "Page1.aspx","Radwindow1");

     

     

    window.radopen("Page2.aspx","Radwindow2");


    Thanks

  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 22 May 2009 Link to this post

    Hello Shrirang,

    I built up a test demo based on your code but unfortunately to no avail - I could not reproduce the problem you report. Would you please examine the attached test demo on your side and let me know what else should I do in order to reproduce the issue?

    Regards,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top