To use RegisterStartupScript inside of an UpdatePanel use the following:
ScriptManager.RegisterStartupScript(page, page.GetType(), Guid.NewGuid().ToString(), “alert(‘hello’)”, true)
To use RegisterStartupScript inside of an UpdatePanel use the following:
ScriptManager.RegisterStartupScript(page, page.GetType(), Guid.NewGuid().ToString(), “alert(‘hello’)”, true)
0 comments: