or
private void radGridHome_RowsChanged(object sender, GridViewCollectionChangedEventArgs e) |
{ |
try |
{ |
if (isGridLoadCompleted) |
{ |
isRowsChanged = true; |
//Getting the edited rows index |
previousRowIndex = e.NewStartingIndex; |
if (!arrRowChangedIndex.Contains(e.NewStartingIndex)) |
{ |
arrRowChangedIndex.Add(e.NewStartingIndex); |
} |
Console.WriteLine("RowsChanged @ " + e.NewStartingIndex + e.OldStartingIndex + " "); |
} |
} |
catch (Exception ex) |
{ |
WriteLogFile(ex.ToString(), "radGridHome_RowsChanged"); |
} |
} |
private void radGridHome_CurrentRowChanged(object sender, CurrentRowChangedEventArgs e) |
{ |
try |
{ |
if (isGridLoadCompleted && isRowsChanged && chkSaveExitingRow.Checked) |
{ |
// Updating the edited row details to datatbase |
UpdateCustomerOrderInfo(chkSaveExitingRow.Checked, false, previousRowIndex); |
isRowsChanged = false; |
} |
arrPastRowValue.RemoveRange(0, arrPastRowValue.Count); |
} |
catch (Exception ex) |
{ |
WriteLogFile(ex.ToString(), "radGridHome_CurrentRowChanged"); |
} |
} |
MasterGridViewTemplate.AddNewRowPosition =
PinnedRowPosition.Top, then the Value changing event does not fire. It fires only if it is set to bottom... Please advise
Thanks
Deepak