setting default behavior on enter key

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top