Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
3.67/5 (3 votes)
See more:
how to dissble copy paste feature from text box
Posted

1 solution

use this code to solve your problem



ASP.NET
<asp:textbox id="TextBox1" runat="server" 
             oncopy="return false"
             onpaste="return false"
             oncut="return false">
</asp:textbox>
 
Share this answer
 
v2
Comments
[no name] 15-Sep-12 7:43am    
sir it is very useful for me in just short code thanks
Raje_ 15-Sep-12 7:45am    
+5.
__TR__ 15-Sep-12 7:48am    
5ed!
Ganesh Nikam 15-Sep-12 7:49am    
+5
Kuthuparakkal 15-Sep-12 7:50am    
5+

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