-
April 19th, 2005, 09:32 AM
#1
Default button in an asp.net web site
Being new to this web design thing, I am sorting problems as they arise.
Current problem...
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.
Question is...how?
I can't seem to find a solution, there has to be one, every one else is doing it!!
Regards.
Bryan
(aka fatboy, twister)
-
April 22nd, 2005, 00:19 AM
#2
Security Intelligence
TZ Veteran
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 ---
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks