Hi,
I have a c# asp.net web form which contains a User Control search bar
composed of a text box and a search button (asp:ImageButton)
In classic asp, I would have had the search bar as a separate form which
would allow me to hit the return key after inputting some text in the text
box and the search form would be submitted.
However, now I have the situation that if I click on the Image button, the
web form is submitted and the Search Method linked to the OnClick event of
the Image Button is run.
All well and good.
However, I would like the user to be able to hit the return key and the
Search Method to be invoked. Is there a way of doing this?
Many thanks,
Pete