Assembly: System.Web (in system.web.dll)
/** @event */ public void add_Filtering (SqlDataSourceFilteringEventHandler value) /** @event */ public void remove_Filtering (SqlDataSourceFilteringEventHandler value)
In JScript, you can handle the events defined by a class, but you cannot define your own.
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.
For more information about handling events, see Consuming Events.