1

Aspx page contains a panel having a default button called btnFilter. Panel having another button btnReset. When my focus is inside panel & I press enter its fires btnFilter click event that is OK. But first I put focus on reset button & then press enter it fires btnFilter click event instead of firing btnReset click event.

Is there any solution for this?

4
  • something wrong with eventhandler .. Commented May 13, 2013 at 6:46
  • @matzone When you press the enter it will always call click event of your default button. Commented May 13, 2013 at 6:54
  • 1
    You have to show the code .. Commented May 13, 2013 at 6:55
  • Just look bellow link [Default button not working in asp.net panel][1] [How to set the default button in content page using asp.net?][2] [1]: stackoverflow.com/questions/11923457/… [2]: stackoverflow.com/questions/12263011/… Commented May 13, 2013 at 9:27

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.