I\'ve picked up an existing project from another developer and ive noticed in the code that they are executing js code within three different event handlers...
$(document).ready() will not fire for the partial postbacks (happened from AJAX). In that case, you should use MS AJAX pageLoad function when you need to execute something when the page loads either from the full postback or partial.
The article given in the Encosia site is a good read.