Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

button onclick 1

Status
Not open for further replies.

Gamera99

Programmer
May 17, 2001
59
JP
My login page has two textbox objects and a submit button object (each text box has required field validators too).
The login page submit button will respond to pressing the enter key, and the request.form collection contains the three text boxes and the submit button.

My problem: Another page, set up the same way, with only one text box and another submit button - the submit button has no focus (i have not specifically set focus either)
will not respond to enter key.

I can't see any difference between the way the two pages are set up. I am using code_behind coding.

Does anyone have any suggestions; is this a tabindex problem?

Thank you
Nelson
 
I am not sure what this is, It seems as though a few people have ran into this though. My only suggestion is to rebuild the page.
Whether you are using absolute positioning or flow the button that should respond to the enter key is the one that is first in the HTML. Not necessarily the first button visually but the first one to be in the HTML.

Sorry I couldn't help That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
 
Thanks for helping; I think I will try to rebuild the page and see what happens.

Nelson
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top