setting default behavior on enter key

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?V2ViQnVpbGRlcjQ1MQ==?=

    setting default behavior on enter key

    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.Re gisterHiddenFie ld("__EVENTTARG ET",
    "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
  • =?Utf-8?B?QXVndXN0aW4gUHJhc2FubmE=?=

    #2
    RE: setting default behavior on enter key

    http://forums.asp.net/p/1202208/2095392.aspx - this should help.

    Regards,
    Augustin

    "WebBuilder 451" wrote:
    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.Re gisterHiddenFie ld("__EVENTTARG ET",
    "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

    Comment

    Working...