Undo Event

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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.