Monday, August 11, 2014

How to restrict a Textbox for Copy, Cut, Paste using Asp .Net / Javascript


In your Textbox use the following properties and value to make Textbox

Copy Restricted
Cut Restricted
Paste Restricted


oncopy="return false"
oncut="return false"
onpaste="return false"


No comments:

Post a Comment