TextBox data binding in TabControl

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When is a bound field not a bound field?

On a tabcontrol we have a set of text boxes representing a Block Postal
Address and also for Address lines/City State Zip etc. When we press a
button the Block address is parsed into the other text boxes. The values are
directly set in the dataset row.

The first time the button is clicked everytrhing works.
If you manually change any of the text box values and then re-click the button
the dataset is updated but the text boxes are not.

This seems to relate to the problem of data binding on tabcontrols.
Discussed by
Michael Maes in subject "TextBox control databound on tab controls".

Is there any solution to this? Is it possible to get the Binding Context to
recognize these extra fields?
 
Using CurrencyManager.Refresh() causes the form fields to refresh.

But why should this work the first time , and not subsequently?
 
Back
Top