Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinDataSource
Private Sub UltraDataSource1_RowBeginEdit(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinDataSource.RowBeginEditEventArgs) Handles ultraDataSource1.RowBeginEdit
' RowBeginEdit gets fired whenever a bound control starts a row edit
' operation. If you are instructing UltraDataSource to not cache data
' in CellDataRequested/CellDataUpdated events then you would have to
' backup the row data so that in RowCancelEdit you can revert the row
' data back to the backed up data in case the user cancels the row
' modifications.
Debug.WriteLine("RowBeginEdit fired on row with index " & e.Row.Index)
End Sub
Private Sub UltraDataSource1_RowCancelEdit(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinDataSource.RowCancelEditEventArgs) Handles ultraDataSource1.RowCancelEdit
' RowCancelEdit gets called whenever a bound control cancels row
' modifications. If you are instructing UltraDataSource to not cache
' data in CellDataRequested/CellDataUpdated events then you would
' have to backup the row data in RowBeginEdit so that in this event
' you can revert the row data back to the backed up data in case the
' user cancels the row modifications.
Debug.WriteLine("RowCancelEdit fired on row with index " & e.Row.Index)
End Sub
Private Sub UltraDataSource1_RowEndEdit(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinDataSource.RowEndEditEventArgs) Handles ultraDataSource1.RowEndEdit
' RowEndEdit is fired when a bound control commits modifications made to a
' row.
Debug.WriteLine("RowEndEdit fired on row with index " & e.Row.Index)
End Sub