ASP.NET MVC ActionLink and post method

šljaker picture šljaker · Jan 12, 2010 · Viewed 258.2k times · Source

Can anyone tell me how can I submit values to Controller using ActionLink and POST method?
I don't want to use buttons.
I guess it has something with jquery.

Answer

Aidos picture Aidos · May 31, 2011

If you're using ASP MVC3 you could use an Ajax.ActionLink(), that allows you to specify a HTTP Method which you could set to "POST".