TextBox.OnTextChanged fire on typing

  • Thread starter Thread starter Tomas
  • Start date Start date
T

Tomas

Hello,

As we know TextBox.OnTextChanged event do not fired when text is typed,
TextBox must lose focus or ENTER key must be pressed in TextBox to execute
OnTextChanged.

Maybe someone could suggest hack how to execute OnTextChanged event on
typing?

Regards,
Tomas
 
Hello,

As we know TextBox.OnTextChanged event do not fired when text is typed,
TextBox must lose focus or ENTER key must be pressed in TextBox to execute
OnTextChanged.

Maybe someone could suggest hack how to execute OnTextChanged event on
typing?

Regards,
Tomas

I have always found the event is fired for every character added/removed.
Put a label next to it and copy the text from the Text Box to the Label
when the event is fired by the Text Box, you should see the Label Text
change every time the text in the Text Box changes.
 
Back
Top