Click here to Skip to main content
15,919,774 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friendz,

I am developing a Online Learning Project in ASP.net using C sharp coding, If a user clicks start button i making ppt to run automatically for learning via coding but i want to block the some of the keyboard inputs while learning in online and if the user close the form then all keyboard inputs should work properly, so can any one suggest me , how to block some keyboard inputs in form load. Thanks in Advance . :)
Posted
Comments
JoCodes 3-Oct-13 12:15pm    
Which is the "some" of the keyboard inputs you want to block?Any code you have tried so far??

You could use javascript to cancel the key events that you don't want to do anything. See this CP article...

Working With JavaScript Events[^]
 
Share this answer
 
 
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