Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textchanged vs validating vs lostfocus
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01561762
Message ID:
01561769
Vues:
42
I use Validating and Validated.

I think you cannot e.cancel = true in Validated, and the field binding is not updating as long as you are in Validating. It's a pain indeed, but you get used to.


>Which do you use for textbox text validation?
>
>I tried the Textchanged - but it seems to fire off everytime I type a character in the field. Is this correct behavior? Based on intarweb searching, it seems that validating (unless turned off) and lostfocus will always be fired leaving the field, so is there a preference?

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform