M
Marina
Hi,
Let's say I bind the same column to multiple properties of one control (or
even to the same property of several controls).
If a user changes the value of the property in one control - I would like to
take that value, and put it in the data source, and have anything else bound
to this column get updated with the new value.
However, called EndCurrentEdit, resets the value to the original, and
basically throws out the new value.
If however, I updated the value in all the other controls/properties bound
to this column, to the new value just entered - only then does
EndCurrentEdit put the new value into the datasource.
What I need is to have EndCurrentEdit accept the value and put it in the
datasource, so that then I can call Refresh, to have anything else bound to
the column receive the new value. If I have to put the value in myself in
every control bound to the column, that seems to defeat the purpose.
How can this be done?
Let's say I bind the same column to multiple properties of one control (or
even to the same property of several controls).
If a user changes the value of the property in one control - I would like to
take that value, and put it in the data source, and have anything else bound
to this column get updated with the new value.
However, called EndCurrentEdit, resets the value to the original, and
basically throws out the new value.
If however, I updated the value in all the other controls/properties bound
to this column, to the new value just entered - only then does
EndCurrentEdit put the new value into the datasource.
What I need is to have EndCurrentEdit accept the value and put it in the
datasource, so that then I can call Refresh, to have anything else bound to
the column receive the new value. If I have to put the value in myself in
every control bound to the column, that seems to defeat the purpose.
How can this be done?