Is it possible using some sort of client side code to detect cut and paste?
The only solution I can think of is to constantly get the text length and if it changes drastically over a certain period, then assume text was pasted.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It seems like the only way you’d know if the text changed through all the crazy ways text can be inserted into a textbox might be to monitor the value in an Interval…checking for when the next interval value was different from the previous…that would detect any form of change but it isn’t a very neat solution (seems overkill)…