Change the code from
Page.ClientScript.RegisterStartupScript(this.GetType(), "myKey", javaScript);
to
ScriptManager.RegisterStartupScript(updatePanelId,updatePanelId.GetType()
, "alert", javaScript, true);
Be the first to rate this post
- Currently .0/5 Stars.
- 1
- 2
- 3
- 4
- 5
Tags :