This scenario will comes when you are creating any Password and Confirm Password Textboxes in Your Asp.Net Application.
For those three , Just write 3 Properties in your TextBox Control.
1) oncopy="return false"
Explanation:: When you use above property in your textbox control, the user can not copy the text from the textbox.
2)onpaste="return false"
Explanation:: When you use above property in your textbox control, the user can not paste any text in your textbox.
3)oncut="return false"
Explanation:: When you use above property in your textbox control, the user can not cut any text in your textbox.
For those three , Just write 3 Properties in your TextBox Control.
1) oncopy="return false"
Explanation:: When you use above property in your textbox control, the user can not copy the text from the textbox.
2)onpaste="return false"
Explanation:: When you use above property in your textbox control, the user can not paste any text in your textbox.
3)oncut="return false"
Explanation:: When you use above property in your textbox control, the user can not cut any text in your textbox.
No comments:
Post a Comment