Jump to content

Need assistance with ASP.net c#

- - - - -

  • Please log in to reply
1 reply to this topic

#1
JasonHussey

JasonHussey

    Newbie

  • Members
  • Pip
  • 1 posts
I am working on ASP.net with c#. I needed some assistance on trouble shooting the enter key versus when i actually click on a button. Can someone help me on how to go about how to code when a user presses the enter key versus when the user clicks on the link it self. I wanted to default it automtatically to the text box the user is on. I'm unabel to figure this out as i am new .

Please let me know.

Thanks,
Jason

Edited by Alexander, 07 March 2011 - 01:38 PM.
Removed link


#2
cdg10620

cdg10620

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 389 posts
You may want to look at these two links concerning key press events:

Processing Global Mouse and Keyboard Hooks in C# - CodeProject
Capturing the Enter key to cause a button click - CodeProject
-CDG10620
Software Developer




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users