Hello.
I might have wandered into wrong direction so please help.
I have a page in my ASP.NET MVC application which displays comments. These comments come from 'Index' action of 'Comments' controller. At the bottom of the page I have a form for adding new comments. This form should call
[AcceptVerbs(HttpVerbs.Get)]
public ActionResult AddComment();
action when rendering the form to user and
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult AddComment(Comment c);
action when posting new comment to server.
I presume that 'Comments' page should call three action methods (Index, AddComment[Get], AddComment[Post]). However AddComment[Get] is never called.
Please point me to right direction.
Thank you.