Showing RadWindow in Javascript function

2 posts, 0 answers
  1. Shruthi N
    Shruthi N avatar
    4 posts
    Member since:
    May 2010

    Posted 12 May 2010 Link to this post


    I have a RadWindow in my page and I am trying to show this RadWindow in a javascript function. This javascript function is on click on a html button click.

    I have the following code written for RadWindow:



    telerik:RadWindowManager ID="rwmMyWindow" runat="server" />



    telerik:RadWindow ID="rwUploadConfirmation" runat="server" Modal="True" Width="700" Height="400" KeepInScreenBounds="True" Overlay="True" VisibleStatusbar="false" VisibleTitlebar="false" Visible="false" >






       <asp:Label ID="lblUploadStatusMessage" runat="server" Font-Size="12px" ForeColor="Black" Font-Bold="true" />




    input type= button ID="SaveMsg_OK" value="Continue" style="width:75px" onclick="javascript:close_uploadWindow_dlg();" />










    In a javascript function, I need to show this RadWindow, assign some data to the label that I have inside this.

    Would like to know how do I get this done.

    Thanks in advance.



  2. Bob van der Zinch
    Bob van der Zinch avatar
    10 posts
    Member since:
    Feb 2010

    Posted 12 May 2010 Link to this post


    You can use the following javascript code to get a reference to the javascript Window object

    var win = $find ("<%= rwUploadConfirmation.ClientID %>"); 
    and then you can show it; 

    or set any of its properties, as listed here

    You can also check out RadWindow client-side demo
Back to Top