To accomplish a similar goal I used this approach:
var prm = Sys.WebForms.PageRequestManager.getInstance();
prm.add_initializeRequest(InitializeRequest);
prm.add_endRequest(EndRequest);
function InitializeRequest(sender, args) {
}
function EndRequest(sender, args) {
$(document).ready
(
function()
{
alert("Did it work?");
}
);
}
Look here for more details:
http://msdn.microsoft.com/en-us/library/bb383810.aspx
Similar question answered here first: Attach event to hyperlink click inside update panel?
This should get you started. You may want to throw in a couple alerts to make sure you know how often the page is sending/receiving data via AJAX. It's possible you may need to target this more specifically to keep your Javascript from executing from some other AJAX thing happening on the page. I'm guessing you've moved beyond this long ago, but figured I'd try to answer it anyway. GL.