VS2003服务器控件写onclick

来源:互联网 发布:网络文明调查问卷 编辑:程序博客网 时间:2024/06/05 02:54

在后台    this.btnSave.Attributes.Add("onclick","check();");

在前台 function check()

       {

if(true)

    {

return event.returnValue=true;

   }

}