2

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.

1 Answer 1

3

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.