It is doing that because when you enter text into the textbox, the TextChanged event is fired.
I think "OnBlur" would be a viable alternative since it fires when the control loses focus.
[EDIT]
Have a look at these articles:
Click[
^]
and
LostFocus[
^]
It appears as though "LostFocus" is the event for you.