Enables you to respond to inserting a persistent object via a bound data-aware control.
public event XpoDataSourceInsertedEventHandler Inserted
Public Event Inserted As XpoDataSourceInsertedEventHandler
The Inserted event handler receives an argument of the XpoDataSourceInsertedEventArgs type. The following properties provide information specific to this event.
|Value||Provides access to the persistent object that has been inserted in the XpoDataSource via a bound data-aware control.|
The Inserted event is raised after a persistent object being inserted via a data-aware control, bound to the current XpoDataSource, has been saved to a data store. This can be useful when you want to access the inserted object's properties, such as XPObject.Oid. To access these properties, use the event's XpoDataSourceInsertedEventArgs.Value parameter.