views:

23

answers:

0

Hi,

At my work I bumped into a problem: This page that my friend is working always create a update panel at runtime, for some reason.

Assuming that I already tried to use the:

Sys.WebForms.PageRequestManager.getInstance().add_endRequest

It doesn't work most probably because the updatePanel is as well recreated at async request. Of course i might be awfully wrong, which would be a good thing.

How can I add the script that is supposed to run every end of request, in a updatepanel that is added at run time?