2006年9月2日

關於.net2.0中button控件使用心得

摘要: 在以前的1.0/1.1中,為服務器端控件添加客戶端事件,一般情況要用到:this.btnSub.Attributes["onclick"]="checkConfim();";這種形式。2.0中直接:javascrip代碼:function checkConfim(){ if(!confirm("Are you sure you want to do this?")) { event.... 阅读全文

posted @ 2006-09-02 15:16 ★金★ 阅读(215) 评论(0) 推荐(0) 编辑

导航