I'm developing a website that has master pages. On only one of the web pages I do not want the Enter button to execute a Default Button behavior.
The first button that is rendered on the page is always the Default Button so when the user hits the Enter Button that button's click event fires.
I've added the UseSubmitBehavior="False" attribute to the button controls which keeps the Enter button from executed.
But I have an Image button on my page which does not have the UseSubmitBehavior="False" attribute available and now when the Enter button is pressed the Image button's click event fires.
Is there any way to disable the Default Button behavior or assign it to null for a particular page? Keep in mind I'm using master pages.< ...
Go to the complete details ...