I used to do the following to execute javascript from the server:
Page.ClientScript.RegisterStartupScript( ... );
And it would execute when the page loads back at the client. I am now modifing existing pages to use UpdatePanels
and my javascript is no longer being fired.