Call a Javascript function after update panel is refreshed

Hi All,

We were facing issue to rebind some of our jQuery plugins after the update panel was refreshed.
Below is the code which saved us.

  var parameter = Sys.WebForms.PageRequestManager.getInstance();

    parameter.add_endRequest(function () {

       //Reinitialize plugin , any other activity which needs to be done at the end of partial postback

    });

Comments

Popular posts from this blog

Install Node.js without admin rights

Create a lean React Solution using Typescript

Replace all occurence of String in JavaScript