Here is the thing:
If I have 2 controls, each with a textbox. I bind the same column to each of
the textbox's Text properties. Then everything works as expected.
However, if one of the properties is another property (say a custom
property), then suddenly calling EndCurrentEdit does not work.
This is a very dynamic form, and I do not know which control with which
property will get bound to what. Because of that, i would need a separate
dataview for each binding - which has got to be expensive.
It seems to come down to the name of the property. As long as both
properties are the Text property, then it's all fine. If one of the
properties is a custom property I wrote, then changing the value of the
column in the Text property and calling EndCurrentEdit, discards the
changes, instead of sending them back to the datasource.
"Cor Ligthert" <(E-Mail Removed)> wrote in message
news:Oo$(E-Mail Removed)...
> Hi Marina,
>
> I am not sure if I understand your question (Because it is you I think it
is
> not an easy question), however did you already see what using different
> dataviews can do for you, that I used with success.
>
> (You should look in the adonet group, Jon (he tested somehing and now) is
> completly to the other side (ours) about dispose in my opinion)
>
> Cor
>
>
|