ajax onsucess method context

Posted by mazhar kaunain baig on Stack Overflow See other posts from Stack Overflow or by mazhar kaunain baig
Published on 2010-06-09T05:53:05Z Indexed on 2010/06/09 6:02 UTC
Read the original article Hit count: 136

Filed under:
|
|
function createSuccess(context) {
   $get(“result”).innerHTML = context.get_data();
}

<% using (Ajax.BeginForm(new AjaxOptions {OnSuccess="createSuccess"}))
{%>

What does context holds in the createsuccess method? data return by controller? How do we return json data in the createsucess if so

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about AJAX