G
Guest
I have a form with five buttons, but only two of the buttons fire the event
assigned to them when clicked. I've checked the *.designer.cs and all five
buttons have events assigned to them. For example, I have cmdCancelCategory
assigned as follows:
this.cmdCancelCategory.Click += new
System.EventHandler(this.cmdCancelCategory_Click);
I have a function called cmdCancelCategory_Click in the code behind the form
to handle the event, but it doesn't get fired.
What could be causing this problem?
assigned to them when clicked. I've checked the *.designer.cs and all five
buttons have events assigned to them. For example, I have cmdCancelCategory
assigned as follows:
this.cmdCancelCategory.Click += new
System.EventHandler(this.cmdCancelCategory_Click);
I have a function called cmdCancelCategory_Click in the code behind the form
to handle the event, but it doesn't get fired.
What could be causing this problem?