How come Logout button link with "Enter" on keyboard?
ASP.NET
3
Posts
3
Posters
0
Views
1
Watching
-
Hi, As I start my my default page, I unintentionally press "Enter" and my whole page logout out. I noticed that the button is link with the enter button. How to deal with it? Regards, Aaron
you can change the TabIndex of your button to a higher number. That way, it will not be selected when your form takes focus. Jon G www.Gizmocoder.com
-
Hi, As I start my my default page, I unintentionally press "Enter" and my whole page logout out. I noticed that the button is link with the enter button. How to deal with it? Regards, Aaron
Add JavaDcript to OnClick event of this button that confirms the LogOut operation Sanjay Sansanwal www.sansanwal.com