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 MVC controller’s action method.

19 Answers
19

Leave a Reply

Your email address will not be published. Required fields are marked *