tags:

views:

338

answers:

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  A: 

I found this codeproject article that solves my problem.

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

Mark Redman

related questions