I have an application with a large number of pages, often with forms, and on the master page I have a search box. When a user fills out a form, then presses enter, rather than submit the form, it submits the search.
Is there any way I can exclude the search button from the default button? I know I could go round each page and wrap a panel round each one and set the default button there, but there are a lot of pages so I'm trying to prevent that.
I'm using an ImageButton for the search, so it doesn't have the UsesSubmitBehaviour option, which was something else I thought might work.