Ask a Question related to ASP.NET General, Design and Development.
-
JP #1
Default Button to Catch <ENTER> key
Hi,
It's a login screen, so users enter their ID/Password and
hit <ENTER> instead of clicking on Login button. But when
they hit <ENTER> an Image Button gets clicked.
I want to make my Login Button a default so that when
users hit <ENTER> key, Login Button receives a click.
Please help!
Thanks!
JP
JP Guest
-
default html code for enter key
Hi, I'm a web developer and my company prefers that I use two <br> tags for paragraphs rather than using the <p> tags. There is more control over... -
disabling enter button (revisited)
I posted this question before, but all the answers given were not feasible either because it's a VERY long form (so I don't want to make everything... -
How control which button has focus [ENTER]
Hello, I'm facing a problem with the behavior of the key while editing items in a datagrid. I would like to make sure that the cancel button is... -
Script for button won't 'catch'
Hi, I'm using MX and brushing up and I can't figure out what I am doing wrong here. I have a button that works fine and when I add on (rollOver)... -
How to control enter button on the client PC in ASP.Net
Does anybody know how to control enter button on the web form? It seems to if the user hits enter button at run time then it fires submit button... -
S. Justin Gengo #2
Re: Default Button to Catch <ENTER> key
JP,
I have code to do exactly this on my web site: [url]www.aboutfortunate.com[/url]
Just go to the code library. The entry you need is titled: "Fire a button
click from any text box when enter key is pressed"
Just jump directly to page two of the datagrid. It's the first entry on
page two.
Happy coding!
--
S. Justin Gengo, MCP
Web Developer
Free code library at:
[url]www.aboutfortunate.com[/url]
"Out of chaos comes order."
Nietzche
"JP" <jpatel3@canada.com> wrote in message
news:08a901c352ad$97c2c610$a601280a@phx.gbl...> Hi,
>
> It's a login screen, so users enter their ID/Password and
> hit <ENTER> instead of clicking on Login button. But when
> they hit <ENTER> an Image Button gets clicked.
>
> I want to make my Login Button a default so that when
> users hit <ENTER> key, Login Button receives a click.
>
> Please help!
> Thanks!
>
> JP
>
S. Justin Gengo Guest
-
Teemu Keiski #3
Re: Default Button to Catch <ENTER> key
Check Andy Smith's free DefaultButtons control:
[url]http://www.metabuilders.com/Tools/DefaultButtons.aspx[/url]
--
Teemu Keiski
MCP, Designer/Developer
Mansoft tietotekniikka Oy
[url]http://www.mansoft.fi[/url]
AspInsiders Member, [url]www.aspinsiders.com[/url]
ASP.NET Forums Moderator, [url]www.asp.net[/url]
AspAlliance Columnist, [url]www.aspalliance.com[/url]
"JP" <jpatel3@canada.com> wrote in message
news:08a901c352ad$97c2c610$a601280a@phx.gbl...> Hi,
>
> It's a login screen, so users enter their ID/Password and
> hit <ENTER> instead of clicking on Login button. But when
> they hit <ENTER> an Image Button gets clicked.
>
> I want to make my Login Button a default so that when
> users hit <ENTER> key, Login Button receives a click.
>
> Please help!
> Thanks!
>
> JP
>
Teemu Keiski Guest



Reply With Quote

