Enter on my ASP.NET page

samsmithnz

Senior Contributor
Joined
Jul 22, 2003
Messages
1,038
Location
Boston
I have a weird problem on an ASP.NET page. When I press enter on my keyboard it presses the same button. How does it know which button to press? and how can I make enter work on another button?

I've tryed playing with Tab indexes with no success and I'm stumped...
 
samsmithnz said:
I have a weird problem on an ASP.NET page. When I press enter on my keyboard it presses the same button. How does it know which button to press? and how can I make enter work on another button?

I've tryed playing with Tab indexes with no success and I'm stumped...

Are you tabbing through the page and ensuring the button had focus when you click enter?
 
Back
Top