This is a migrated thread and some comments may be shown as answers.
[Solved] Control the pressing of return
1 Answer85 Views
Input
This is a migrated thread and some comments may be shown as answers.
Missing User
Missing User
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
0
Missing User
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...