Thanks for your time responding. However, I disagree with you on your
assessment that this is not possible. I have this working with some issues
that still need to be addressed.
To further clarify:
I use the TextChanged event of the text box to see if the dataset has
changes. However, as I have found out in the mean time, that's not
necessarily the place to check, or at least not with the EndCurrentEdit
method of the BindingContext for the dataset. Problem there is that
TextChanged happens before the dataset gets updated. So I have to find
another way of pulling this off.
The other aspect of that is that if a TextChange event occurred, the dataset
would already be different, unless that change is cancelled.
Thanks for your attempt to help!
JB
"Cor Ligthert" wrote:
> JBSound,
>
> First what you tell seems to me impossible.
>
> Data is pushed in the dataset by a change of the current row.
>
> That is why when by instance a button acts as the start for an update, the
> first thing that must be done is an endcurrentedit.
>
> So when you want to do what you want, you need something as do everytime
> when there is a value change in your textbox an encurrentedit.
>
> I am afraid that your user will not be happy because of the strange effect
> it probably has.( I did not thest it).
>
> I hope this helps something.
>
> Cor
>
>
>
|