DynamicFilter.FilterUIHint Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the name of the filter template that is used to create the UI.
public:
property System::String ^ FilterUIHint { System::String ^ get(); void set(System::String ^ value); };
public string FilterUIHint { get; set; }
member this.FilterUIHint : string with get, set
Public Property FilterUIHint As String
Property Value
The name of the filter template.
Examples
The following example shows how to specify the filter template in markup to use for filtering.
<asp:DynamicFilter ID="CategoryFilter" runat="server"
FilterUIHint="ForeignKey" />
Remarks
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.
Applies to
.NET