Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting copy/paste in a control
Message
From
04/04/2007 12:10:43
 
General information
Forum:
ASP.NET
Category:
Class design
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01209859
Message ID:
01212064
Views:
17
Enmanuel,

The only thing I can think of, off the top of my head, is to capture the Ctrl-V in a keypress event handler. Not sure if this will work for you, but it's something to play with I guess.

~~Bonnie



>Hi all, how can I know if a value was inserted into a control using copy/paste? I'd like to capture that value before displaying it in the control for validation purposes.
>
>TIA,
>
>Enmanuel
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform