title: Displaying a div on a button click in asp.net
body: <p>I want to display a particular div on the click of a button
  <br />
  My asp code is as follows</p>
  
  <pre><code>&lt;asp:Button ID="Button1" class="btn" runat="server" OnClick="Submit" /&gt;
  
  &lt;div runat="server" id="signup" Visible="false"&gt;Some Content &lt;/div&gt;
  </code></pre>
  
  <p>Now in the CodeBehind i have written the following code</p>
  
  <pre><code>protected void Submit(object sender, EventArgs e)
      {
          Button1.Visible = false;
          signup.Visible = true;
      }
  </code></pre>
  
  <p>But every time i get the error as</p>
  
  <pre><code>the name signup does't exist in the current context
  </code></pre>
  
  <p>i am not able to figure out the problem in the code.. </p>