Radwindow creation using client side

3 posts, 0 answers
  1. Dayana Maliyakal
    Dayana Maliyakal avatar
    27 posts
    Member since:
    Jan 2010

    Posted 08 Mar 2011 Link to this post

    Hi Telerik Team,
      I am creating radwindow like below.



    telerik:RadWindowManager ID="rdWmFundWindowManager" runat="server" ReloadOnShow="true"



    Skin="Windows7" Modal="true" ShowContentDuringLoad="false" VisibleStatusbar="false"









    <telerik:RadWindow ID="rdWnAddUserWindow" runat="server" Modal="True" Height="300px"



    Width="700px" Left="" Title="Add New Analyst" Top="" Skin="Windows7" Style="z-index: 7002">











    Can I create the above radwindow in client side? Please reply.

  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 10 Mar 2011 Link to this post

    Hello Dayan,

    The radopen method is used to create dynamically a new RadWindow on the client with the settings of the RadWindowManager. After that you can use the client API to modify or add new settings to this particular just created RadWindow. E.g you can generate the same RadWindow as the declared one as follows:

    function OpenWnd() {
        var oWnd = radopen("", null);
        oWnd.setSize(700, 300);
        oWnd.set_title("Add New Analyst");

    Please, note, that the skin cannot be changed on the client and it is also set to the manager already - there is no need to set it again for the RadWindow.

    As to the z-index I strongly recommend to set it to the manager because the newly opened RadWindows have incermenting logic considering the z-index and if you set it for the separate RadWindow only, you will lose this built-in logic. However, if you insist on setting it, you should use the following syntax:

    oWnd.get_popupElement().style.zIndex = "7002"

    At last you can find the client API of the RadWindow listed below:


    I hope that my reply is detailed enough and helpful, let me know how it goes.

    All the best,
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. Dayana Maliyakal
    Dayana Maliyakal avatar
    27 posts
    Member since:
    Jan 2010

    Posted 10 Mar 2011 Link to this post

    Hello Svetlina 
            Thank you very much for your reply.
Back to Top