Satish

Satish

  • NA
  • 1
  • 0

Event Handling problem

Dec 5 2005 2:09 AM
HI, I have a usercontrol with a testbox in it, and i am using "keydown" event of the textbox with in the control (for my specific functionality) .( i am using this control in my (win)form). On form level i have one "Button". and i set "AcceptButton" property of form to this button. My problem is, when i hit enter key while having focus on textbox of usecontrol, "Acceptbutton" property of form is executing instead of "keydown" event of usercontrol. How do i make execute, "keydown" event of usercontrol on hitting enter key? Regards, satish