HTML Button calling a MVC Controller and Action Method

Posted by Aaron Salazar on Stack Overflow See other posts from Stack Overflow or by Aaron Salazar
Published on 2010-03-23T21:56:58Z Indexed on 2010/03/23 22:03 UTC
Read the original article Hit count: 431

Filed under:
|

I know this isn't right but for the sake of illustration I'd like to do something like this:

<%= Html.Button("Action", "Controller") %>

My goal is to make an HTML button that will call my controler's action method.

Thank you,

Aaron

© Stack Overflow or respective owner

Related posts about html

Related posts about asp.net-mvc