Users Pricing

forum

Home Forums Handling multiple submit button in asp.net mvc – MindStick

Handling multiple submit button in asp.net mvc

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

<%
Html.BeginForm("MyAction", "MyController",FormMethod.Post); %>
<input type="submit" value="Send" />
<input type="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.


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md