Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textchanged vs validating vs lostfocus
Message
 
To
08/01/2013 14:57:03
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01561762
Message ID:
01561769
Views:
43
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform