asp.net为服务器控件客户端事件

//添加CLICK事件this.articleTitle.Attributes.Add("onclick", "<script>location.href='article.aspx?articleID='"+articleID+"</script>");
//添加onblur事件, checkVerify()为客户端JS事件this.txtCheck.Attributes.Add("onblur", "checkVerify()");

你可能感兴趣的:(asp.net)