在我服务器上,asp.net控件事件无法发生 响应 这是这么回事

解决方案 »

  1.   

    重新注册 iis
    还是不可以
      

  2.   

    看下代码,
    private void InitializeComponent()
    {    
      this.Button2.Click += new System.EventHandler(this.Button2_Click);
      this.Button1.Click += new System.EventHandler(this.Button1_Click);
      this.Select2.ServerChange += new System.EventHandler(this.Select2_ServerChange);
      this.Load += new System.EventHandler(this.Page_Load);
    }
    这当中包括了所有的事件
      

  3.   

    首先看看页面有没提交(有没闪一下)如果有,但事件内容没相应,估计是服务器环境配置问题(注册aspnet等等)
    如果没有,那是js问题。如果你用了检测控件等,先去掉试试。