Here is a simple code for this
<asp:TextBox ID="TextBox2" runat="server" oncopy="return false"
onpaste="return false"
oncut="return false">
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Ankit NandekarPosted May 25, 2011, 12:25 PM
thnx ravi yaa u right we can.
Ankit NandekarPosted May 25, 2011, 12:25 PM
thnx ravi yaa u right we can.
Ravi K KashyapPosted May 25, 2011, 10:07 AM
i would like to add: you can disable any events like this i.e. ondrop, onpaste, ondrag, onmouseclick etc...
Ravi K KashyapPosted May 25, 2011, 10:05 AM
keep it up :)