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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top