J
Jie
Hi, All,
I have a simple ASPX page that has one textbox, one linkbutton and one
button. When I enter something on the textbox and press ENTER key, the
button click event gets fired. What I want is the LinkButton click event
gets fired. I wrote a java script to fire the LinkButton Click event in the
onkeydown event of the textbox. But after the LinkButton click event is
fired, the Button Click event is also fired. Can anybody help me to suppress
the Button Click event in this situation? Thanks
Jie
I have a simple ASPX page that has one textbox, one linkbutton and one
button. When I enter something on the textbox and press ENTER key, the
button click event gets fired. What I want is the LinkButton click event
gets fired. I wrote a java script to fire the LinkButton Click event in the
onkeydown event of the textbox. But after the LinkButton click event is
fired, the Button Click event is also fired. Can anybody help me to suppress
the Button Click event in this situation? Thanks
Jie