Click here to Skip to main content
16,015,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am looking to have an inbuilt help function on my website and when ever any user clicks F1 i should be able to rise the popup showing the appropriate text.

my problem is how can you catch the key click event in asp.net.

if anyone has any ideas let me know
Posted

1 solution

You would have to use JavaScript. Look for example at this code[^].

Catch it in JavaScript, then forward it to your server via Ajax or o.g. simple call a new URL with the help. The latter one would require not passing back the key, to the server at all.

Cheers
Uwe
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900