Hello Telerik support,
I hav a grid which binds an (Telerik Open Access) object source. Some columns have Expression Editors:
When saving the datasource something strange happens. Just before do a SaveChanges I check the values of a specific row which should contain changed (evaluated) values:
radGridView2.Row[x].Cell["B"].Value = "nieuw", this is as expected for the evaluation of row X
(radGridView2.Row[x].DataBoundItem as MyBoundObject).B = null (???)
Additionally I have another question: If my datasource contains a value, the expression should not be evaluated. Is this possible? (maybe on a specific cell event?)
Kind regards,
Raoul
I hav a grid which binds an (Telerik Open Access) object source. Some columns have Expression Editors:
// Attaching the datasourceradGridView2.DataSource = _activeBatch.LigdagenKlinischGefactureerds.OrderBy(c => c.RowNumber);// Expression column definition:GridViewTextBoxColumn b = new GridViewTextBoxColumn("B") { HeaderText = "B", EnableExpressionEditor = true, Expression = @"IIF(ISNULL(PreviousNo,"""")<>No,""nieuw"",null)" };When saving the datasource something strange happens. Just before do a SaveChanges I check the values of a specific row which should contain changed (evaluated) values:
radGridView2.Row[x].Cell["B"].Value = "nieuw", this is as expected for the evaluation of row X
(radGridView2.Row[x].DataBoundItem as MyBoundObject).B = null (???)
Additionally I have another question: If my datasource contains a value, the expression should not be evaluated. Is this possible? (maybe on a specific cell event?)
Kind regards,
Raoul