This documentation is archived and is not being maintained.

DynamicFilter::FilterUIHint Property

Gets or sets the name of the filter template that is used to create the UI.

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

public:
property String^ FilterUIHint {
	String^ get ();
	void set (String^ value);
}
<asp:DynamicFilter FilterUIHint="String" />

Property Value

Type: System::String
The name of the filter template.

The FilterUIHint property lets you specify the filter template to create the UI for table row filtering. You can specify the filter template to use in the following ways:

  • By using the FilterUIHint property in page markup. This approach is a presentation-layer customization, which is independent of the schema (database) and which applies to a single page.

  • By using the FilterUIHintAttribute attribute in the model. This approach is a data-layer customization, which depends on the specific schema (database) and which applies to the entire application.

If you use both approaches, the filter template specified in the markup takes precedence over the template specified in the data model.

The following example shows how to specify the filter template in markup to use for filtering.

<asp:DynamicFilter ID="CategoryFilter" runat="server" 
    FilterUIHint="ForeignKey" />

.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: