title: Using two Telerik RadAjaxPanel controls on the same page
body: <p>Is it possible to use two separate RadAjaxPanel controls side-by-side on the same page?</p>
  
  <p>I am using two separate RadAjaxPanels in the same page. One panel contains a TextBox and a Button. The other contains a RadGrid control. When I click on the button in panel #1 the 2nd panel disappears. I put visible=True in the button-click event.</p>
  
  <p>ASPX page</p>
  
  <pre><code>    &lt;div&gt;
          &lt;telerik:RadScriptManager ID="RadScriptManager1" runat="server"&gt;
          &lt;/telerik:RadScriptManager&gt;
  
          &lt;telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default"&gt;
          &lt;/telerik:RadAjaxLoadingPanel&gt;
          &lt;telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1" Height="200px" Width="300px"&gt;
           &lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;asp:Label ID="Label1" runat="server" Text="Name"&gt;&lt;/asp:Label&gt; &lt;/td&gt;
          &lt;td&gt;&lt;%--&lt;telerik:RadTextBox ID="RadTextBox1" runat="server"&gt;
              &lt;/telerik:RadTextBox&gt;--%&gt;&lt;asp:TextBox ID="TextBox1" runat="server"&gt;&lt;/asp:TextBox&gt;
  
              &lt;/td&gt;&lt;/tr&gt;
              &lt;tr&gt;
                      &lt;td&gt;
                      &lt;/td&gt;
                      &lt;td&gt;
                          &lt;telerik:RadButton ID="RdbtnAdd" runat="server" Text="Submit" CausesValidation="true" 
                              ValidationGroup="AddButtonValidate" OnClick="RdbtnAdd_Click"
                              Width="75px"&gt;
                          &lt;/telerik:RadButton&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
           &lt;/table&gt;
          &lt;/telerik:RadAjaxPanel&gt;
          &lt;telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" runat="server" Skin="Default"&gt;
          &lt;/telerik:RadAjaxLoadingPanel&gt;
  
          &lt;telerik:RadAjaxPanel ID="RadAjaxPanel2" runat="server" LoadingPanelID="RadAjaxLoadingPanel2" Height="200px" Width="300px"&gt;
           &lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;asp:Label ID="Label2" runat="server" Text="Name"&gt;&lt;/asp:Label&gt; &lt;/td&gt;
          &lt;td&gt;&lt;%--&lt;telerik:RadTextBox ID="RadTextBox2" runat="server"&gt;
              &lt;/telerik:RadTextBox&gt;--%&gt;&lt;asp:TextBox ID="TextBox2" runat="server"&gt;&lt;/asp:TextBox&gt;
           &lt;/table&gt;
          &lt;/telerik:RadAjaxPanel&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>Code Behind:</p>
  
  <pre><code> protected void RdbtnAdd_Click(object sender, EventArgs e)
          {
              Session["name"] = TextBox1.Text;
              //RadAjaxPanel2.Visible = true;
              TextBox2.Text = Session["name"].ToString();
          }
  </code></pre>