62,243
社区成员




protected void Page_Load(object sender, EventArgs e)
{
Page.ClientScript.RegisterStartupScript(this.GetType(), "Test", "<script>alert('d');</script>", true);
ScriptManager.RegisterStartupScript(this, GetType(), "YourUniqueScriptKey",
"alert('This pops up');", true);
ScriptManager.RegisterStartupScript(this, typeof(Page),
"UniqueID", "alert('This pops up')", true);
}