This documentation is archived and is not being maintained.

DynamicFilter::FilterChanged Event

Occurs when the user select a value for the foreign key.

Namespace:  System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

[BrowsableAttribute(false)]
public:
 event EventHandler^ FilterChanged {
	void add (EventHandler^ value);
	void remove (EventHandler^ value);
}
<asp:DynamicFilter OnFilterChanged="EventHandler" />

The FilterChanged event is raised when the user selects a foreign-key value and before the new value is rendered. This enables you to provide an event-handling method that can perform custom operations, such as custom paging.

The following example shows how to handle a filter-changed event. The handler resets the page index before the filtered rows are displayed.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: