Click here to Skip to main content
15,920,896 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Is Any Way to disable key board in asp.net C# web application
I want this For Online Exam please Give me A idea
Posted
Comments
Sergey Alexandrovich Kryukov 10-Jun-15 2:36am    
I guess, this is designed to force all the people fail the test. :-)
—SA

JavaScript
<script type="text/javascript">

       document.onkeydown = function (e) {
           return false;
       }
   </script>
 
Share this answer
 
You can do it using javascript or jQuery. find here for the same
 
Share this answer
 
v2

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