title: ASP.NET MVC action on button click
body: <p>I want to take some action on a button click
  the code is given below---></p>
  
  <pre><code>&lt;% if(Model!=null &amp;&amp; Model.Count&gt;0){%&gt;
  &lt;ul&gt;
  &lt;% foreach(var Movie in Model)
          {
              %&gt; &lt;li&gt; &lt;%= Movie.Id %&gt;  
              &lt;%= Movie.Title %&gt;  
              &lt;%= Movie.ReleaseDate %&gt; 
  
              &lt;input type="button" value="edit" name="edit" onclick="EditMovie" /&gt; 
              &lt;input type="button" value="delete" name="delete" /&gt; &lt;/li&gt; 
              &lt;% } %&gt;
  &lt;% } %&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>I have some functionality to do, but how to link up these buttons to those controls ?</p>