The CompareValidator performs the comparison all on the client side in the user's browser. If it raises an error, then it will automatically prevent the Button_Click event from firing, since a postback won't occur. I think your solution is to just perform the comparison on the server side.
Dan Fuller
2009-06-05 17:21:55