Hi James,
Please check these links and you can find the answer in them.
http://groups.google.com/groups?q=g:thl3418049033d&dq=&hl=zh-CN&lr=lang_zh-C
N|lang_zh-TW|lang_nl|lang_en&ie=UTF-8&oe=UTF-8&selm=wbHl6ve0BHA.2352%40cpmsf
tngxa08
http://groups.google.com/groups?q=g:thl3982285673d&dq=&hl=zh-CN&lr=lang_zh-C
N|lang_zh-TW|lang_nl|lang_en&ie=UTF-8&oe=UTF-8&selm=UUulTxzdDHA.2080%40cpmsf
tngxa06.phx.gbl
Please let me know if you need more information. Thanks.
Best regards,
Lewis
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "James" <
[email protected]>
| Sender: "James" <
[email protected]>
| Subject: Web Form - Default Button For Enter Key
| Date: Thu, 11 Sep 2003 14:58:39 -0700
| Lines: 6
| Message-ID: <
[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcN4r9uKIOIyhP6jS+CJZ+MylygWew==
| Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet.webcontrols:14585
| NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
|
| I created a web form (runat=server) and included multiple
| asp:button controls. Pressing the enter key defaults to
| actions for the first button created.
|
| How do I set which button the enter key affects? In
| windows programming it is the default push button.
|