$(document).ready( function () {
Init();
});
Sys.WebForms.PageRequestManager.getInstance().add_pageLoaded(
function () {
Init();
}
);
But on the following calls (without the anonymous wrapper) all you'll see in the call stack is the jQuery or ASP.Net javascript that is doing the event handling:
Sys.WebForms.PageRequestManager.getInstance().add_pageLoaded(Init); $(document).ready(Init);
Hope this helps.


0 - What do you think?:
Post a Comment