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.
Can anyone tell me how can I submit values to Controller using ActionLink and
Share
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.
You can’t use an
ActionLinkbecause that just renders an anchor<a>tag.You can use a jQuery AJAX post.
Or just call the form’s submit method with or without jQuery (which would be non-AJAX), perhaps in the
onclickevent of whatever control takes your fancy.