Are you modifying the contents of the TextBox and then clicking the button directly?

The validation code should not run if the TextBox has focus and then you click the button, i.e. move focus to the button, or any other control that has CausesValidation set to false for that matter.

Hope I haven't misunderstood your problem.