title: String Builder - Input button module
body: <p>I am trying to have a button that I create via a stringbuilder call a C# module. No matter what I am trying I can not seem to get it working.  Is there a JavaScript I need to do???</p>
  
  <pre><code>StringBuilder sb = new StringBuilder("");
  </code></pre>
  
  <p>tried:</p>
  
  <pre><code>sb.Append("&lt;input type=\"button\" id=\"Button1\" value=\"Click Me\" runat=\"server\" onserverclick=\"Button1_Click\" /&gt;");
  </code></pre>
  
  <p>tried:</p>
  
  <pre><code>sb.Append("&lt;button type=\"button\" onserverclick=\"Button1_Click\" runat=\"server\" id=\"Btn1\"&gt;Click Me&lt;/button&gt;");
  </code></pre>
  
  <p>C# Code:</p>
  
  <pre><code>protected void Button1_Click(object sender, EventArgs e)
  {
      Response.Write("Testing");
  }
  </code></pre>