注册Javascript 脚本


string successScript = "alertSuccess";
if (!this.Page.ClientScript.IsStartupScriptRegistered(this.GetType(), successScript))
{
         this.Page.ClientScript.RegisterStartupScript(this.GetType(), successScript, "alert('Your search suggestion a best bet request was successfully created.');", true);
}
posted @ 2010-05-18 10:22  upzone  阅读(179)  评论(0编辑  收藏  举报