Control the pressing of return

2 posts, 0 answers
  1. Drammy
    Drammy avatar
    38 posts
    Member since:
    Feb 2008

    Posted 11 Aug 2009 Link to this post

    Hi guys,

    I have a page with a RadTextBox and asp button on it.  The intention is that a user enters a value into the RadTextBox and hits return.  When they hit return I would like the on_click event for the button to fire.

    How do I ensure this happens?

    Thanks
  2. Drammy
    Drammy avatar
    38 posts
    Member since:
    Feb 2008

    Posted 11 Aug 2009 Link to this post

    Ignore that - being stupid!

    Added an asp Panel around the RadTextBox and Button and set the Default button to the button's ID...
Back to Top