2
Answers

Postback Issue

dtmoore

dtmoore

19y
2.1k
1
I have a form with several textboxes, and several buttons. When focus is on one of the textboxes and I click enter, the page runs the event handler for one of the buttons. I do not want this to happen, When enter is clicked I do not want the page to post back. I tried switching all of my buttons to command buttons, and this does not seem to work. It always runs the same buttons event, and I cannot find any link to this buttons specifically anywhere in the code. Any advice would be great. thanks ~David Moore
Answers (2)