I created a web page with a text box and a image button (used to open a calendar)
In The text box you have the option of doing a search by writing a name or ID in it or using the image button to open a calendar and when you click a date it is populated in the textbox for you to do a search by date.
When I write in a name and hit enter to do a search it always runs the button_click event so I get the calendar on top of my results.
Can somebody give me an idea what I might be doing wrong
Thanks in advance