PC Review


Reply
Thread Tools Rate Thread

button click event when keyboard's enter key is pressed

 
 
=?Utf-8?B?RGlmZmlkZW50?=
Guest
Posts: n/a
 
      20th Dec 2004
Hello All,

How can I force the control to go to click event handler if a keyboard's
enter key is pressed instead of the user clicking the button. I remember that
we need to create a hidden textbox or something of that sort but could you
please guide me in this process?

Thanks,...
 
Reply With Quote
 
 
 
 
Shiva
Guest
Posts: n/a
 
      20th Dec 2004
Hi,

Check this one: http://www.allasp.net/enterkey.aspx

"Diffident" <(E-Mail Removed)> wrote in message
newsDF67504-BB6E-41A3-B042-(E-Mail Removed)...
Hello All,

How can I force the control to go to click event handler if a keyboard's
enter key is pressed instead of the user clicking the button. I remember
that
we need to create a hidden textbox or something of that sort but could you
please guide me in this process?

Thanks,...


 
Reply With Quote
 
Steve C. Orr [MVP, MCSD]
Guest
Posts: n/a
 
      20th Dec 2004
You could use this free control.
http://www.metabuilders.com/tools/DefaultButtons.aspx

And here's a couple good articles on the subject:
http://www.allasp.net/enterkey.aspx
http://www.aspnetpro.com/features/20...200406so_f.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net


"Diffident" <(E-Mail Removed)> wrote in message
newsDF67504-BB6E-41A3-B042-(E-Mail Removed)...
> Hello All,
>
> How can I force the control to go to click event handler if a keyboard's
> enter key is pressed instead of the user clicking the button. I remember
> that
> we need to create a hidden textbox or something of that sort but could you
> please guide me in this process?
>
> Thanks,...



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: In PictureBox click event and need to know which button was pressed active Microsoft VB .NET 0 22nd Feb 2007 06:06 PM
Fire a buttons click event when enter pressed in combo box kohoutec Microsoft C# .NET 2 3rd Dec 2005 12:51 PM
hitting enter button while in textbox calls correct button's click event TS Microsoft ASP .NET 5 29th Nov 2005 01:54 AM
How Button to get Click event when Enter is pressed =?Utf-8?B?QWw=?= Microsoft VB .NET 3 15th Feb 2005 10:13 PM
asp:Button click when Enter is pressed - help Timothy V Microsoft ASP .NET 1 21st Jul 2004 07:34 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:32 PM.