Event doesn't fire

  • Thread starter Thread starter Alberto
  • Start date Start date
A

Alberto

In a ascx control there is a button called LoginBtn. In the
InitializeComponent method I have this line:

this.LoginBtn.Click += new System.EventHandler(this.LoginBtn_Click);

The problem is that it doesn't respond to the click event. I checked it with
a breakpoint.
If I delete the button and insert a new one, the problem remains.

Thank you
 
Back
Top