wire enter to button click

D

Derrick

Hi

I have a asp.net page that has 5 User we controls in it. My header control
has a search text box with a 'go' button.

How would I configure the button so it is 'clicked' when the user hits enter
on the keyboard?

Thanks

Derrick
 
S

Steven Cheng[MSFT]

Hi Derrick,

In addition to Raterus's suggestion, here are some former threads which
discussing on the same problem:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=KW61uIYAEHA.2196%
40cpmsftngxa06.phx.gbl&rnum=2&prev=/groups%3Fq%3Ddefault%2Bbutton%2Bsteven%2
Bcheng%26ie%3DUTF-8%26hl%3Den

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=25ZlQYfSEHA.2988%
40cpmsftngxa10.phx.gbl&rnum=3&prev=/groups%3Fq%3Ddefault%2Bbutton%2Bsteven%2
Bcheng%26ie%3DUTF-8%26hl%3Den

Hope also helps. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
 
D

Derrick

Thank you for the assistance. With the a combinatio of these resources, I
was able to make it work.

Thanks

Derrick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top