Hi Troy ,

It seems that IE assumes the button to be the default button. When you
presss "Enter", the page will be sumbitted by this button. If you could
post the code you use or list the steps how to reproduce the behavior, I am
glad to take a look.

Thanks,

Felix Wu
==========
This posting is provided "AS IS" with no warranties, and confers no rights



--------------------
| From: "Troy Murphy" <troy@solutionsoft.cc>
| Subject: Button Selection
| Date: Wed, 25 Jun 2003 14:34:03 -0700
| Lines: 10
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <Oa#$HG2ODHA.2316@TK2MSFTNGP11.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 206.40.220.138
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:154933
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| I have a user control with a collection of buttons and some text boxes.
| When a text box gets focus or a button is pressed causing a postback, one
of
| the buttons seems to pick up visual characteristics that make it appear
| selected (raised border, shadow, etc). Never the button that makes sense!
| How can I prevent this or at least reset them all back to 'flat'?
|
| Thanks,
| Troy
|
|
|