Proper postback when Enter Key is pressed

J

Jim in Arizona

I have a simple vb aspx page with a single text control and button
control. The user puts a date in the text field and pressed the button
and a gridview is filled with data. If I put in a date and just hit
enter, it looks like the page is posting back but nothing happens. I
don't know how to set the page to where if the user hits enter on the
keyboard, it is the same as clicking the button.

TIA,
Jim
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top