SqlDataSource.Filtering Event
.NET Framework (current version)
Occurs before a filter operation.
Assembly: System.Web (in System.Web.dll)
Handle the Filtering event to perform validation operations on filter parameter values before the SqlDataSource control performs a filter operation. You can cancel the Select method by setting the Cancel property of the SqlDataSourceFilteringEventArgs object to true. The event is raised only if the FilterExpression property is set.
The SqlDataSource.Filtering event delegates to the SqlDataSourceView.Filtering event of the SqlDataSourceView object that is associated with the SqlDataSource control.
For more information about handling events, see NIB: Consuming Events.
.NET Framework
Available since 2.0
Available since 2.0
Show: