1

I need to run some javascript after an update panel updates, this update panel is in a Usercontrol located in a page that has a MasterPage. The MasterPage has a ScriptManager and the Usercontrol has a ScriptManagerProxy.

in the UserControl I am calling:

ScriptManagerProxyControl.Page.RegisterStartupScript(Guid.NewGuid().ToString(), "alert('hello');");

but nothing is happening.

All the exmaples I see use ScriptManager, but this is not available as its on the master page.

Any ideas?

1 Answer 1

1

I found this codeproject article that solves my problem.

http://www.codeproject.com/KB/ajax/hourglassajax.aspx

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.