This question is locked. New answers and comments are not allowed.
We have installed the Q2 updates and have noticed some querky behavior. The code below worked just fine (the items.count = 3):
foreach (ComplexAccountPeriodDataObject c in this.grdAccountPeriods.Items)
{
c.AutoCloseDays = (int)e.NewValue;
}
this.grdAccountPeriods.Rebind();
After the update, the above code no longer worked. The items.count on the grid was 0. The only way I could figure out how to do it was with the code below:
foreach (Record r in this.grdAccountPeriods.Records)
{
((ComplexAccountPeriodDataObject)((Telerik.Windows.Data.DataRecord)r).Data).AutoCloseDays = (int)e.NewValue;
}
However, since Record is marked as deprecated, I'm leery to use that way. How can we accomplish this task?
