给按钮在后台添加属性

this.Button1.Attributes.Add("onclick","javascript:if(confirm('继续吗?');"){return true;}else{return false;}");

posted on 2011-05-19 14:10  Paste  阅读(175)  评论(0)    收藏  举报

导航