asp.net - update panel is preventing JQuery from running -


i have problem on update panel preventing jquery running. when page loading jquery fraction of second after page loaded remove jquery effect it. ran jquery function on console & work fine. remove updatepanel page , work fine asking how can fix update panel problem ?

as call update panel asynchronous jquery not called(loaded) during asynchronous call see update panel issue jquery

try following:

$(document).ready(function () {             bindevents();//your jquery method         });  

this script tag binds bindevents method .it main use support jquery update panel call asynchronous

<script type="text/javascript">     // create event handler pagerequestmanager.endrequest     var prm = sys.webforms.pagerequestmanager.getinstance();     prm.add_endrequest(bindevents);// bind bindevents method support update panel </script> 

Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -