Is it possible to do something like this using asp.net mvc 3
@using(Ajax.BeginForm("SomeAction","MyController",new AjaxOptions {OnSuccess="function(content){ alert(content); }"}))
{
@Html.Partial("Recorder")
<input type="submit" />
}
I am using Jquery for ajax operations and not MSAjax.
Thanks
You can just use a normal Html.BeginForm, assign a id to the form, and use the jquery ajax to handle submission:
The submission function:
Hope this what you mean/need 🙂