Proper postback when Enter Key is pressed

  • Thread starter Thread starter Jim in Arizona
  • Start date Start date
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

Back
Top