ASP.NET MVC partial view and form action name

Posted by Dmitriy Shvadskiy on Stack Overflow See other posts from Stack Overflow or by Dmitriy Shvadskiy
Published on 2009-04-08T19:58:24Z Indexed on 2010/03/21 19:31 UTC
Read the original article Hit count: 185

Filed under:

How do I create a partial view that has a form with assigned id? I got as far as:

using (Html.BeginForm(?action?,"Candidate",FormMethod.Post,new {id="blah"}))

Partial view is used for both Create and Edit so first parameter ?action? will be different. I can't figure out what value of ?action? supposed to be

© Stack Overflow or respective owner

Related posts about asp.net-mvc