Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > How control which button has focus [ENTER]

Reply
Thread Tools

How control which button has focus [ENTER]

 
 
Olivier Matrot
Guest
Posts: n/a
 
      02-17-2005
Hello,

I'm facing a problem with the behavior of the [ENTER] key while editing
items in a datagrid. I would like to make sure that the cancel button is the
default button when [ENTER] is hit.

TIA.


 
Reply With Quote
 
 
 
 
Alvin Bruney [MVP]
Guest
Posts: n/a
 
      02-17-2005
this link will help understand the behavior of the enter key.
http://www.allasp.net/enterkey.aspx

--
Regards,
Alvin Bruney [Microsoft MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://www.lulu.com/owc
----------------------------------------------------------


"Olivier Matrot" <> wrote in message
news:...
> Hello,
>
> I'm facing a problem with the behavior of the [ENTER] key while editing
> items in a datagrid. I would like to make sure that the cancel button is
> the default button when [ENTER] is hit.
>
> TIA.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

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: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Need to find which textbox has focus from a user control. dougmcmurtry@gmail.com ASP .Net 2 03-28-2008 11:24 PM
this.window.focus() vs. window.focus() vs. this.focus() Roger Javascript 3 03-08-2007 08:53 PM
Is there any way to determine which control has the focus in the codebehind? José Joye ASP .Net 2 06-24-2006 11:59 AM
Determining which control has the focus on my web page deane_gavin@hotmail.com ASP .Net Web Controls 1 04-25-2006 04:14 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57