Problem with Bound TextBox on TabControl

  • Thread starter Thread starter sandman
  • Start date Start date
S

sandman

When you put a bound TextBox on a tab control, the underlying Text
property does't get loaded until the tab age is clicked and the text box
is visible. Why is that? Is there a way around it? How can I validate
the data on the tab pages that the user didn't visit?
 
You should get events when data change in the data source. That's the better
place to validate them anyway, if the source of the data change could come
from different places. Validating in a text box would only need to be done
if you're validating on user entry, and the user can only enter data in
TextBoxes he can see.

-Rachel
 
Back
Top