Question Textbox ontextchange problem

the_atom

Active member
Joined
Apr 18, 2007
Messages
26
Programming Experience
Beginner
I have a code that must be executed when the value of the textbox changes, however the code executes on every character that i input. Is there a work around this?
 
I feel that I must point this out:

DUH!

If you input characters one at a time then the text is changed after each character, therefor the TextChanged event runs after each keypress.

What you may want to do is look into Validating the text in the textbox, since it sounds like you're doing validation on the data in the textbox
 
This is very good idea, but i have to execute event on textbox change. Textbox validation causes only the field to validate its content. What i need is some kind of auto validation.
 
Back
Top