Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Enter Button Takes You to HomePage

Reply
Thread Tools

Enter Button Takes You to HomePage

 
 
=?Utf-8?B?TXJNaWtl?=
Guest
Posts: n/a
 
      01-07-2005
On my webforms, if the user hits the Enter button they are directed back to
the home page. Why does this happen? How can I prevent the user from being
redirected when they hit the Enter button?

Thanks.
 
Reply With Quote
 
 
 
 
Curt_C [MVP]
Guest
Posts: n/a
 
      01-07-2005
what is the first button on the page? by default the ENTER will act as a
click for that button.

--
Curt Christianson
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


"MrMike" <> wrote in message
news:8C67436E-B2F1-4AA6-A398-...
> On my webforms, if the user hits the Enter button they are directed back
> to
> the home page. Why does this happen? How can I prevent the user from
> being
> redirected when they hit the Enter button?
>
> Thanks.



 
Reply With Quote
 
 
 
 
=?Utf-8?B?TXJNaWtl?=
Guest
Posts: n/a
 
      01-07-2005
Curt, Are you refering to the button that is first in the tab order? Thanks.

"Curt_C [MVP]" wrote:

> what is the first button on the page? by default the ENTER will act as a
> click for that button.
>
> --
> Curt Christianson
> Site: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
>
> "MrMike" <> wrote in message
> news:8C67436E-B2F1-4AA6-A398-...
> > On my webforms, if the user hits the Enter button they are directed back
> > to
> > the home page. Why does this happen? How can I prevent the user from
> > being
> > redirected when they hit the Enter button?
> >
> > Thanks.

>
>
>

 
Reply With Quote
 
Curt_C [MVP]
Guest
Posts: n/a
 
      01-07-2005
if there is a tab order, that's actually coded, it's VERY seldom you see one
with Web Forms

--
Curt Christianson
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


"MrMike" <> wrote in message
news:90A75C3E-41F9-42C8-924F-...
> Curt, Are you refering to the button that is first in the tab order?
> Thanks.
>
> "Curt_C [MVP]" wrote:
>
>> what is the first button on the page? by default the ENTER will act as a
>> click for that button.
>>
>> --
>> Curt Christianson
>> Site: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "MrMike" <> wrote in message
>> news:8C67436E-B2F1-4AA6-A398-...
>> > On my webforms, if the user hits the Enter button they are directed
>> > back
>> > to
>> > the home page. Why does this happen? How can I prevent the user from
>> > being
>> > redirected when they hit the Enter button?
>> >
>> > Thanks.

>>
>>
>>



 
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
capturing from text area Shft+Enter, Control+Enter, Alt+Enter and browser issue. HopfZ Javascript 0 08-28-2006 10:11 AM
hitting enter button while in textbox calls correct button's click event TS ASP .Net 5 11-29-2005 01:54 AM
Control where 'Enter Button' takes you =?Utf-8?B?QUNhdW50ZXI=?= ASP .Net 3 02-09-2005 03:56 PM
Enter Key H*ll, control enter key submit button BrianDH ASP .Net Web Controls 3 01-12-2005 08:29 PM
trigger HTML button by enter ENTER key Matt Javascript 1 03-06-2004 07:01 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