Undo Event
Occurs when the user clicks the Undo button on the navigation control, or the Dirty event is canceled. This event fires before the data is returned to its original values. Use this event to set the conditions under which the user is allowed to undo a change.
Private Sub Object_Undo(ByVal DSCEventInfo As DSCEventInfo)
Object A DataSourceControl object.
DSCEventInfo The DSCEventInfo object that contains information about the event.
Remarks
Set the ReturnValue property of the DSCEventInfo object to False to cancel the undo action.
You can use the DataPage and Section properties of the DSCEventInfo object to get more information about the page.