I\'d like to use the OnSuccess option of AjaxOptions passed as Ajax.BeginForm argument to \"do something\" once the response is completely received and DOM updated. As far a
Not sure how helpful this will be but I am looking at doing something like this at the moment and have found if you call out to a function within the OnSucess then it will happen after the action method, for example:
using (Ajax.BeginForm("DoLongTask", "Home",
new AjaxOptions() {
UpdateTargetId = "divPlaceholder",
InsertionMode = InsertionMode.Replace,
OnSuccess = "function() { alert('onsuccess fired'); }"
}))