How do I set the default button on a web page

J

John Svercek

On an aspx page, I notice when the page opens there is no default command
button (press enter & nothing happens). However, once I set the focus on a
text field one of the command buttons becomes the default (press enter & the
command button is executed). How do I define which button should be the
default and can I change it depending on the text box I am in?

I am using VB .Net for development of a web service that presents the pages.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top