i have an actionlink in my view
<%= Html.ActionLink("action","controller") %>
the action has a [AcceptVerbs(HttpVerbs.Post)] atttribute, and the lactionlink doesn’t work.
how to make it work by “POST”??
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To post to an action I use this JavaScript function:
It creates html form, so you don’t have to create it in view code. this way you can use: