forum

Home / DeveloperSection / Forums / Handling multiple submit button in asp.net mvc

Handling multiple submit button in asp.net mvc

Anonymous User199007-Oct-2014
Is there some easy way to handle multiple submit buttons from the same form? Example.

<% Html.BeginForm("MyAction", "MyController",FormMethod.Post); %>
<inputtype="submit"value="Send"/>
<inputtype="submit"value="Cancel"/>
<%Html.EndForm(); %>

Any idea how to do this in ASP.NET Framework Beta? All examples I've googled for have single buttons in them.


Updated on 07-Oct-2014
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By