Jul 9th, 2009 | 5 Comments

You can disable cut, copy & paste in ASP.Net textbox in very simple way,

here is how you can disable the cut, copy, paste,

<asp:TextBox ID=”TextBox1″ runat=”server” oncopy=”return false” onpaste=”return false” oncut=”return false”></asp:TextBox>
  • Smit

    very helpful really works

  • Partha Sarathi Thatoi

    tusi great ho

  • Róbert

    Worked perfect. Love learning new simple things :)

  • http://www.sonnaonline.com Basma

    it’s so helpful , I used it with Label and it’s working fine

  • Amir

    great, thanks my friend