TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Disable Cut ,copy,paste of textbox
Ankit Nandekar
May 26, 2011
5.9
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
This Blog show you how to disable cut ,copy ,paste of Textbox.
Here is a simple code for this
<asp:TextBox ID="TextBox2" runat="server" oncopy="return false"
onpaste="return false"
oncut="return false">
Disable Cut
copy
paste of textbox .
Next Recommended Reading
Enable/Disable RequiredFieldValidator with Javascript