Hello everyone, I have tried to fix this but still no luck. So please help me out. I have a master page and it has a search textbox and and image button as the default button. The textbox and the search image button are in a panel. However, when I am on other pages and I hit enter, the search imagebutton always fire.
Is there a way to stop that?

I found this thread: http://forums.asp.net/t/1113264.aspx/2/10 suggesting setting myPanel.DefaultButton = myButton.UniqueId in the code behind. What I did is on page load, I set panel2.defaultbutton=searchimagebtn.uniqueID. But that doesn't work for me.
Any suggestion?

Thanks. 
...

Go to the complete details ...