aspnet-404587-troubleshooting-grid-related-issues-row-not-found-or-changed.md
When ASPxGridView is bound to LinqDataSource or LinqServerModeDataSource, the following exception can occur: “Row not found or changed”.
Do the following to resolve this issue:
ColumnAttribute.UpdateCheck property to Never or WhenChanged.LinqDataSource.StoreOriginalValueInViewState property to false.The issue may occur when the data source contains a field of the timestamp type. ASPxGridView cannot determine the appropriate editor for such data and does not generate a column for this field in the Columns collection. The field values are not included in the OldValues and NewValues dictionaries used in GRUID operations.
To resolve this issue, use either of the following approaches:
false to hide the column.<dx:ASPxGridView ID="Grid" ... OnRowUpdating="Grid_RowUpdating" />
protected void Grid_RowUpdating(object sender, DevExpress.Web.Data.ASPxDataUpdatingEventArgs e) {
e.OldValues["Version"] = (sender as ASPxGridView).GetRowValuesByKeyValue(e.Keys[0], "Version");
}
Open the **.dbml* DataContext file and delete the timestamp field.