Sounds like your TextBox just hasn't been instantiated yet ... but I don't know how the eventhandler would fire if that was the case. Maybe a little more information is needed ... such as, where you put the delegate for the EventHandler, etc.
~~Bonnie