title: Button Event in ASP.NET MVC
body: <p>I have created view page in MVC like</p>
  
  <pre><code>&lt;%using (Html.BeginForm())
  { %&gt;
      &lt;%=LabelHelpers.Label("firstname", "FirstName:")%&gt;
      &lt;br/&gt;
      &lt;%=Html.TextBox("firstname")%&gt;
      &lt;br/&gt;&lt;br/&gt;
      &lt;%=LabelHelpers.Label("lastname", "Lastname:")%&gt;
      &lt;br/&gt;
      &lt;%=Html.TextBox("lastname")%&gt;
      &lt;br/&gt;&lt;br/&gt;
      &lt;input type="Button" value="Register"/&gt;
  &lt;%} %&gt;
  </code></pre>
  
  <p>Here I want to write Buttonclick Event ...How and Where should i write?</p>