Sunday, March 11, 2012

how can i check if an update panel or a gridview has finished updating?

See this posthttp://forums.asp.net/t/1146513.aspx

-Damien


I would like to find something more related to .net than javascript.


This is correct handler for AJAX.NET calls/response. Remember AJAX is a mix of client and server side code... Think about the approach for a minute... How would the client know that the update panel is finshed without using client-side script?

Here is more information:http://asp.net/ajax/documentation/live/clientreference/Sys.WebForms/PageRequestManagerClass/default.aspx

-Damien


Hi,

Handle Sys.WebForms.PageRequestManager.EndRequest:

Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequest)

function EndRequest(sender, args)
{
}

For more information,check outhttp://asp.net/ajax/documentation/live/clientreference/Sys.WebForms/PageRequestManagerClass/PageRequestManagerEndRequestEvent.aspx
Best Regards

No comments:

Post a Comment