how to let button response 'return' key?# DotNet - 窗口里的风景
G*T
1 楼
I'm using ASP.net to design a simple webpage: a textbox and a button. After
the user inputs in the textbox, the user can click the button. The aspx will
show some select results from database. I'm not familar with asp/asp.net, my
question is: how to let the button response if the user just uses keyboard and
key_down the 'return' key? In VB.net, it has the corresponding event, but I
can not find it in this webform. What I should do?
thanks
the user inputs in the textbox, the user can click the button. The aspx will
show some select results from database. I'm not familar with asp/asp.net, my
question is: how to let the button response if the user just uses keyboard and
key_down the 'return' key? In VB.net, it has the corresponding event, but I
can not find it in this webform. What I should do?
thanks