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
 
Back
Top