This topic has not yet been rated - Rate this topic

LinqDataSource Events

The LinqDataSource type exposes the following members.

  Name Description
Public event ContextCreated Occurs after an instance of the context type object is created.
Public event ContextCreating Occurs before an instance of the context type object is created.
Public event ContextDisposing Occurs before disposing the context type object.
Public event DataBinding Occurs when the server control binds to a data source. (Inherited from Control.)
Public event Deleted Occurs when a delete operation has finished.
Public event Deleting Occurs before a delete operation.
Public event Disposed Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. (Inherited from Control.)
Public event Init Occurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from Control.)
Public event Inserted Occurs when an insert operation has finished.
Public event Inserting Occurs before an insert operation.
Public event Load Occurs when the server control is loaded into the Page object. (Inherited from Control.)
Public event PreRender Occurs after the Control object is loaded but prior to rendering. (Inherited from Control.)
Public event QueryCreated Occurs when a query is added to or removed from a data source control. (Inherited from QueryableDataSource.)
Public event Selected Occurs when a data retrieval operation has finished.
Public event Selecting Occurs before a data-retrieval operation.
Public event Unload Occurs when the server control is unloaded from memory. (Inherited from Control.)
Public event Updated Occurs when an update operation has finished.
Public event Updating Occurs before an update operation.
Top
  Name Description
Explicit interface implemetation Private event IDataSource.DataSourceChanged Infrastructure. Occurs when a data source control has changed in a way that affects data-bound controls. (Inherited from DataSourceControl.)
Explicit interface implemetation Private event IDynamicDataSource.Exception For a description of this member, see IDynamicDataSource.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.