asp.net mvc - how to convert a form in mvc to ajaxform -



asp.net mvc - how to convert a form in mvc to ajaxform -

how can perchance convert next ajaxform.

@using (html.beginform("survey", "tools", new { questionid = model.questionid }, formmethod.post, new { onsubmit = "return getcheckedradiobutton();" })) { // processing <input type="submit" value="next" id="submitbutton" /> }

i have tried different parameters ajax.beginform maintain getting errors

this works fine me:

@using (ajax.beginform("actionmethod", new ajaxoptions { onsuccess = "onsuccess", onfailure = "onfailure" })) { // stuff }

asp.net-mvc asp.net-mvc-4

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

Set Up Of Common Name Of SSL Certificate To Protect Plesk Panel -