I have a link button on the page and set it as default button, It works fine in IE but not working in Mozila Firefox. Does anybody have any clue how to reso
The DefaultButton
property is not supported for use with a LinkButton
. http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.panel.defaultbutton.aspx
The easiest solution is to include a dummy Button on your page with style="display:none"
, set that as the defaultbutton and give it the same event handlers as your LinkButton.