DynamicFilter.DataField Property

.NET Framework (current version)
 

Gets or sets the name of the column to use for table row filtering.

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

public string DataField { get; set; }

Property Value

Type: System.String

The name of the column used for table row filtering.

The following example shows how to specify the column for table row filtering in markup.

<asp:DynamicFilter ID="CategoryFilter" runat="server" 
    DataField="ProductCategory" />

.NET Framework
Available since 4.0
Return to top
Show: