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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top