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

Your using HTML.Begin Form statement does not work. You aren't specifying a controller name nor are you specifying a valid action, so how does it work?
What am I missing?

My controller name is: ClientPayment, so I tried using the following:
using

(Html.BeginForm("Action", "ClientPayment", FormMethod.Post))

which then hits the action result for the button, but then it throws the following error: The view 'Action' or its master was not found or no view engine supports the searched locations. The following locations were searched:

Do you have a fully working example that I could look at?


Viewing all articles
Browse latest Browse all 50

Trending Articles