April 19th, 2005, 09:32 AM
Default button in an asp.net web site
Being new to this web design thing, I am sorting problems as they arise.
I have a login screen to restrict access to certain pages, two fields on screen username and password, two buttons, login and cancel.
I want to make the login button the default button in the event of return being pressed.
I can't seem to find a solution, there has to be one, every one else is doing it!!
(aka fatboy, twister)
April 22nd, 2005, 00:19 AM
It is a property set on you form design... are you using an IDE such as Visual Studio? Check the properties of the form or even the button. I think the property name is called "Accept = CMD_OK" and assign it to your "Button Name"
--- 0wN3D by 3gG ---