Javascript – How to perform an action after an UpdatePanel updates

asp.net-ajaxjavascriptupdatepanel

When I have a regular textbox in a UpdatePanel (not an ASP.NET control) with some JavaScript events on it, after the UpdatePanel updates my events are gone. Is there a way to re-attach my events after the update? (Preferably without putting my events inline).

Best Solution

You can use the endRequest event of the PageRequestManager class.