rajath r

rajath r

  • NA
  • 34
  • 106k

How to call imagebutton click function on enter key press

Aug 5 2010 2:37 AM
Hi all,

I have an login form where sign in button is an imagebutton. I my case when user enters password and clicks sign in then it will work fine.

but when user enters password and press enter key then page will be refreshed and login will not happen.

Here i need to call imagebuttonclick function on enter press. The form is default.aspx and i am using master form also hence I am not able to get body tag.

How can i do this can any one help me.

Answers (4)