QueryableFilterRepeater 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.]
Provides a templated control that automatically generates a collection of filters for a table that is associated with a data source.
<asp:QueryableFilterRepeater
DynamicFilterContainerId="string"
EnableViewState="True|False"
ID="string"
OnDataBinding="DataBinding event handler"
OnDisposed="Disposed event handler"
OnInit="Init event handler"
OnLoad="Load event handler"
OnPreRender="PreRender event handler"
OnUnload="Unload event handler"
runat="server"
Visible="true"
>
</asp:QueryableFilterRepeater>
Example
The following example shows how the QueryableFilterRepeater control is used in the List.aspx file in a Dynamic Data project.
<ContentTemplate>
<div class="DD">
<asp:ValidationSummary ID="ValidationSummary1" runat="server"
EnableClientScript="true" HeaderText="List of validation errors" />
<asp:DynamicValidator runat="server" ID="GridViewValidator"
ControlToValidate="GridView1" Display="None" />
<asp:QueryableFilterRepeater runat="server" ID="FilterRepeater">
<ItemTemplate>
<asp:Label runat="server" Text='<%# Eval("DisplayName") %>'
OnPreRender="Label_PreRender" />
<asp:DynamicFilter runat="server" ID="DynamicFilter"
OnFilterChanged="DynamicFilter_FilterChanged" /><br />
</ItemTemplate>
</asp:QueryableFilterRepeater>
<br />
</div>
<%--Elements omitted for simplicity.--%>
</ContentTemplate>
See Also
Tasks
How to: Filter Table Rows Using Default Filter Templates in Dynamic Data
How to: Filter Table Rows Using Values from a Parent Table in Dynamic Data