This is a migrated thread and some comments may be shown as answers.

Control the pressing of return

1 Answer 31 Views
Input
This is a migrated thread and some comments may be shown as answers.
Drammy
Top achievements
Rank 1
Drammy asked on 11 Aug 2009, 01:02 PM
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

1 Answer, 1 is accepted

Sort by
0
Drammy
Top achievements
Rank 1
answered on 11 Aug 2009, 01:05 PM
Ignore that - being stupid!

Added an asp Panel around the RadTextBox and Button and set the Default button to the button's ID...
Tags
Input
Asked by
Drammy
Top achievements
Rank 1
Answers by
Drammy
Top achievements
Rank 1
Share this question
or