Default Form Button in FireFox
I am constructing a server control that will certainly search our db and also return outcomes. The server control is has an ASP: Panel. I have actually set the default switch on the panel equivalent to my switch id and also have actually set the kind default switch equivalent to my switch id.
On the Panel:
MyPanel.DefaultButton = SearchButton.ID
On the Control:
Me.Page.Form.DefaultButton = SearchButton.UniqueID
Works penalty in IE & Safari I can type a search term and also struck the enter key and also it looks penalty. If I do it in FireFox I get a sharp box claiming "Object reference not set to an instance of an a object.
Any person stumble upon this prior to?
Below is an excellent post clarifying the concern and also just how to address it: