Quantcast
Channel: Andrey Shchekin's Blog - Latest Comments
Viewing all articles
Browse latest Browse all 50

Re: Multiple submit buttons with ASP.NET MVC: final solution

$
0
0

Hello Andrey,

If i left the Html.BeginForm() as default then irrespective of which button i click the actionName parameter is always the same, Ex: "delete", so my collection of buttons only behavior in the same way. If i left the Html.BeginForm("Action", "Post") as you used in this article then the IsValidName will always return false and no method at all will be executed. Am I missing on anything here?

Regards,
Ambrish


Viewing all articles
Browse latest Browse all 50

Trending Articles