答案 0 :(得分:3)
答案 1 :(得分:0)
将这些行嵌入您的javascript代码
function foo()
{
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(endRequestHandler);
}
function endRequestHandler(sender, args)
{
// Do your stuff
alert('Update Panel routine is now complete');
}
然后,将它放在身体标签上
<body onload="foo()">