views:

196

answers:

1

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.

+3  A: 

AFAIR, you should use ScriptManager's RegisterStartupScript method. For details see MSDN

PiRX