B
Brett Romero
I have three text boxes on a form with one button. The button is the
form's AcceptButton. After some one puts a value into any text box, I
assign the value to an object via textbox.Leave() event. This doesn't
work if some one types or pastes in a value then hits <enter>. None of
the key events are captured. The button click event is fired.
I could just capture textbox values in the search button click event.
However, I'd like to get them in real-time. Another option is to
capture on keyup() so that I get values as the user types them. That's
to much overhead and inefficient should I want to make use of those key
events for something. I also need to capture a pasting values into the
textbox.
Any suggestions?
Thanks,
Brett
form's AcceptButton. After some one puts a value into any text box, I
assign the value to an object via textbox.Leave() event. This doesn't
work if some one types or pastes in a value then hits <enter>. None of
the key events are captured. The button click event is fired.
I could just capture textbox values in the search button click event.
However, I'd like to get them in real-time. Another option is to
capture on keyup() so that I get values as the user types them. That's
to much overhead and inefficient should I want to make use of those key
events for something. I also need to capture a pasting values into the
textbox.
Any suggestions?
Thanks,
Brett