DynamicFilter Web Server Control Declarative Syntax
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
The DynamicFilter control displays a filter for a field in a data entity. The default behavior is to display the ForeignKey.ascx field template for foreign-key fields or the Boolean.ascx filter for Boolean fields. The foreign-key filter is a list that displays values from the foreign-key table. The Boolean filter is a list that displays "All", "True", and "False".
<asp:DynamicFilter ID="string" DataField="string" Filter="string" OnFilterChanged="Filter changed event handler"/>
You can override the default filter by specifying the Filter value in the markup for the DynamicFilter control. You can also override the default filter by marking a class in the data model with a FilterUIHintAttribute attribute. If you specify both, the value that is specified in the markup takes precedence over the attribute value on the model.
The following examples show how to use the DynamicFilter control to perform customized filtering of data table rows.