各位大神,小弟问题如下,还望请教。
当存储到数据库中的时间数据和我所需要的时间吻合时,触发弹出提示窗口。ScriptManager.RegisterStartupScript(this.UpdatePanel1, this.UpdatePanel1.GetType(), "msg", "pwespopup_winLoad();", true);ScriptManager.RegisterStartupScript();括号中这四个参数分别是什么意思?
当存储到数据库中的时间数据和我所需要的时间吻合时,触发弹出提示窗口。ScriptManager.RegisterStartupScript(this.UpdatePanel1, this.UpdatePanel1.GetType(), "msg", "pwespopup_winLoad();", true);ScriptManager.RegisterStartupScript();括号中这四个参数分别是什么意思?
2、type 客户端脚本块的类型。通常使用 typeof 运算符 (C#) 或 GetType 运算符 (Visual Basic) 来指定此参数,以检索正在注册脚本的控件的类型。
3、key 脚本块的唯一标识符。
4、script 要注册的脚本。
输入到这里ScriptManager.RegisterStartupScript(
就会有提示