Asp Updatepanel run script on update completed



        <script type="text/javascript">
            var prm = Sys.WebForms.PageRequestManager.getInstance();
            prm.add_endRequest(EndRequest);
 
            function EndRequest(sender, args) {
                onPanelLoad(); // things to do 
            } 
        </script>
    </ContentTemplate>
</asp:UpdatePanel>
 
 
 
Ref. http://stackoverflow.com/questions/2985937/asp-net-need-to-run-javascript-on-update-panel-load-completed
post by Aristos

Comments

Popular posts from this blog

Log4Net Different files in the same assembly

ටෙස්ලා

Setup Test automation with Selenium and Ruby