How disable copy paste in asp.net page
how disable copy paste in asp.net page not only text box
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Pranay RanaRank #735 · 3.2K reputationPosted Jul 9, 2015, 4:24 AM EDT
$(document).ready(function(){ $('#txtInput').bind("cut copy paste",function(e) { e.preventDefault(); }); });Ankit ShuklaRank #2,120 · 672 reputationPosted Jul 9, 2015, 4:39 AM EDT
Manoj BhoirRank #599 · 4K reputationPosted Jul 9, 2015, 4:42 AM EDT
oncopy="return false;" onpaste="return false;" oncut="return false;">