I’d like to capture submit action from “Ajax.BeginForm (…)” and asynchronously fetch some data from controler and put it into some div…
How can i do it?
I’ve tried
Ajax.BeginForm(…, new AjaxOption( UpdateTriggerId = “”, ) but as i noticed it is used for online checking form or something like this…
How can i disable reload whole page while pressing “submit” ?? Mayby i have add something to controler?
Btw. What is better to use with forms (in AJAX context)? Pure Jquery or those Ajax.BeginForm?
You should be able to achieve what you need using Ajax.BeginForm and with a partial view…
http://davidhayden.com/blog/dave/archive/2009/05/19/ASPNETMVCAjaxBeginForm.aspx