Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting copy/paste in a control
Message
De
04/04/2007 12:10:43
 
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01209859
Message ID:
01212064
Vues:
16
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform