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

For anyone curious, I had a similar issue and the problem was in my Action.  I was using return View(model), so the server was looking for an "Action" view which really does not exist. The simple fix is to specifiy the view in the return:  return View("Edit", model).

Thanks for this solution.  It has helped make a very nice Edit/Preview feature work efficently and cleanly.


Viewing all articles
Browse latest Browse all 50

Trending Articles