Home All Groups Group Topic Archive Search About

Problem with RowChanged event and bindingcontext

Author
31 Mar 2005 8:59 PM
Elias Fernandez
Hello all,
I´m experiencing a problem ( maybe a bug ...), with the rowchanged event.
When i change the position in a table after alter a field the datarowchanged
event starts only if the navigation path of the databinding is not a
relationship: Ej...

ds.Tables["house"].RowChanged +=...;

texto.DataBindings.Add("Text", "house.doors");

this.BindingContext(ds,"house").Position++;

in this case the event starts correctly

Ej...

ds.Tables["requirements"]..RowChanged +=...;
// requirements is the relations between "house" and "requirements" tables

texto.DataBindings.Add("Text", "house.requirements.pay");
this.BindingContext(ds,"house").Position++;

in this case the event doesnt starts, but the DataRow of the relation table
is altered.

Does anyone know something about this? is a bug? it is its normal way of
working?

Greetings and excuse my poor english

AddThis Social Bookmark Button