April 18, 2011

Disable Copy/Paste in a Textbox

<asp:TextBox ID="TextBox1" TextMode="password" oncopy="return false;" oncut="return false;" onpaste="return false;" runat="server"></asp:TextBox>

No comments:

Post a Comment