setting default behavior on enter key

  • Thread starter Thread starter WebBuilder451
  • Start date Start date
W

WebBuilder451

I've set the default behavior on enter in two places
1. on a panel containing the control: <asp:Panel ID="pnl1" runat="server"
defaultbutton="lbtnLogin">
and in the page load: ClientScript.RegisterHiddenField("__EVENTTARGET",
"lbtnLogin");

it works ok with IE so far, but not for FireFox and not for Safari. Is there
a work around? or another method?

Thanks
--
(i''ll be asking a lot of these, but I find C# totally way cooler than vb
and there''s no go''n back!!!)
thanks (as always)

kes
 
Back
Top