Hi, I have a usercontrol which is used for searching. There is a textbox and a search button. When the button is clicked the search method is called. I want the search also to occur when the cursor is inside the textbox and the enter key is pressed.
My first thought on how to do this was maybe to add the event to submit action of the form tag. However this usercontrol has no form tag.
Does anyone have any suggestions?
Thanks!