title: How to open RadWindow
body: <p>My Code:</p>
  
  <pre><code>&lt;asp:ImageButton ID="btnAddReport" runat="server" OnClientClick="return AddFavoritePopup()"
  ImageUrl="~/Content/images/add_favorite.jpg" Width="24px" Height="20px" 
  style="vertical-align:middle"/&gt;
  
      function AddFavoritePopup() {
      var radWindow = document.getElementById('AddFavoriteRadWindow');
      radWindow.show()
      }
  
        &lt;telerik:RadWindowManager runat="server" ID="RadWindowManager2" Title="Add Favorite"
              Behaviors="Close" VisibleStatusbar="False" Modal="False"&gt;
              &lt;Windows&gt;
                  &lt;telerik:RadWindow ID="AddFavoriteRadWindow" Width="500" Height="300" VisibleOnPageLoad="false" CssClass="radwindow" runat="server"&gt;
                      &lt;ContentTemplate&gt;
                          &lt;table&gt;
                              &lt;tr&gt;
                                  &lt;asp:Label ID="lblFavorite" runat="server" Text="Favorites: "&gt;&lt;/asp:Label&gt;
                                  &lt;asp:TextBox ID="txtReportFavorite" runat="server"&gt;&lt;/asp:TextBox&gt;
                              &lt;/tr&gt;
                              &lt;tr&gt;
                                  &lt;asp:Button ID="btnOk" runat="server" Text="OK" Width="50" Height="25" onclick="btnOk_Click" /&gt;
                                  &lt;asp:Button ID="btnCancel" runat="server" Text="Cancel" Width="50" Height="25" onclick="btnCancel_Click" /&gt;
                              &lt;/tr&gt;
                          &lt;/table&gt;
                      &lt;/ContentTemplate&gt;
                  &lt;/telerik:RadWindow&gt;
              &lt;/Windows&gt;
          &lt;/telerik:RadWindowManager&gt;
  </code></pre>
  
  <p>How to open RadWindow in the script. I tried with show function. It is not opening. Thanks.</p>