时间:2010-07-23 22:11:05

标签: javascript asp.net jquery updatepanel

2 个答案:

答案 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()">