shane 0

shane 0

  • NA
  • 2
  • 0

.NET 2.0 Databinding queries

Feb 3 2005 8:52 PM
I have an ArrayList of Customer objects, when the user edits a record, i set a boolean variable blDirty to true, then when the user tries to change records by using the DataNavigator i want to stop the user from changing records, offer the user to save or discard their changes to the current record, and then after the save or discard i want to move to the record specified, i.e. move previous, move next, etc. My problem is that if i add a click handler to the move first, previous, next and last buttons, the click is raised only after the record has been changed. Also I tried handling the DataConnector.PositionChanged event, but their is no way to see what record the user was on, prior to the position changed.