How to perform an action after updating UpdatePanel?

When I have a regular text field in UpdatePanel (and not an ASP.NET control) with some JavaScript events on it, after updating UpdatePanel my events disappeared. Is there a way to reattach my events after the update? (Preferably, not inserting my events into the queue).

+3
source share
3 answers

You can use the endRequest event of the PageRequestManager .

+4
source

You can have a loop setInterval()to load a document that will search for an item in the update panel, and if it has no events, it can reattach them.

+1

, DOM ( UpdatePanel). korchev, endRequest .

0

Source: https://habr.com/ru/post/1697782/


All Articles