Possible Duplicate:
Perform Button click event when user press Enter key in Textbox
I want to trace an enter button keypress event in asp.net and c#.I dont want to use javascript for it.
whenever there is Enter press in the textbox I want to call a function that takes as parameters the textbox value.
Well there are several ways to do it:
Using a Panel
Specifying the default button in the Form tag