title: Div show hide not working when using UpdatePanel inside dev
body: <pre><code>&lt;div id="test1"  runat="server"&gt;
    &lt;asp:UpdatePanel runat="server" ID="updTerms"&gt;
      &lt;ContentTemplate&gt;
        &lt;asp:Button ID="btnSubmit"  Enabled="false" CssClass="asgButton" runat="server" Text="Submit" onclick="btnSubmit_Click"/&gt;
      &lt;/ContentTemplate&gt;
    &lt;/asp:UpdatePanel&gt;
  &lt;/div&gt;
  
  &lt;div id="test2" visible="false"  runat="server"&gt;
    &lt;p&gt;this is sample text.... bla bla bla&lt;/p&gt;    
  &lt;/div&gt;
  </code></pre>
  
  <p>C# Code:</p>
  
  <pre><code>protected void btnSubmit_Click(object sender, EventArgs e)
  {
    if (Page.IsValid) {
      // ...
      test1.Visible = false;
      test2.Visible = true;
    } else {    
      // do some thing...
    }
  }
  </code></pre>