title: ASP.Net Button and the onclick event don't work
body: <p>I make a dynamic table with buttons in they cells, but when i click some button show me this error in console:</p>
  
  <pre><code>Uncaught ReferenceError: bttn_Click is not defined
      at HTMLUnknownElement.onclick (VM51 panel.aspx:1)
  </code></pre>
  
  <p>this is how i make the button in html and asp.net :</p>
  
  <pre><code>StringBuilder htmlStr = new StringBuilder();
  htmlStr.Append("&lt;asp:button onclick='bttn_Click' class='btn btn-warning btn-xs'  ID='Bttn_PDF'&gt;PDF&lt;/asp:button&gt;");
  PlaceHolder1.Controls.Add(new Literal { Text = htmlStr.ToString() });
  </code></pre>
  
  <p>and the C#</p>
  
  <pre><code>protected void bttn_Click(object sender, CommandEventArgs e)
  {
    Button btn = (Button)sender;
    string btnid = btn.CommandArgument;
    test.Text = btnid;
  }
  </code></pre>