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
Post a Comment