New to Telerik UI for ASP.NET MVC? Download free 30-day trial

FilterOperatorsStringSettingsBuilder

Methods

Eq(System.String)

The text of the "equal" filter operator.

Parameters

value - System.String

The value that configures the eq.

Neq(System.String)

The text of the "not equal" filter operator.

Parameters

value - System.String

The value that configures the neq.

Isnull(System.String)

The text of the "isnull" filter operator.

Parameters

value - System.String

The value that configures the isnull.

Isnotnull(System.String)

The text of the "isnotnull" filter operator.

Parameters

value - System.String

The value that configures the isnotnull.

Isempty(System.String)

The text of the "isempty" filter operator.

Parameters

value - System.String

The value that configures the isempty.

Isnotempty(System.String)

The text of the "isnotempty" filter operator.

Parameters

value - System.String

The value that configures the isnotempty.

Startswith(System.String)

The text of the "starts with" filter operator.

Parameters

value - System.String

The value that configures the startswith.

Contains(System.String)

The text of the "contains" filter operator.

Parameters

value - System.String

The value that configures the contains.

Doesnotcontain(System.String)

The text of the "does not contain" filter operator.

Parameters

value - System.String

The value that configures the doesnotcontain.

Endswith(System.String)

The text of the "ends with" filter operator.

Parameters

value - System.String

The value that configures the endswith.

Isnullorempty(System.String)

The text of the "isnullorempty" filter operator.

Parameters

value - System.String

The value that configures the isnullorempty.

Isnotnullorempty(System.String)

The text of the "isnotnullorempty" filter operator.

Parameters

value - System.String

The value that configures the isnotnullorempty.

Custom(System.String,System.Action)

Configures a custom operator

Parameters

name - System.String

The name of the custom operator.

configurator - System.Action<CustomFilterOperatorBuilder>

The configurator for the custom operator.

Example


               @(Html.Kendo().Filter<ProductViewModel>()
                   .Name("filter")
                   .Operators(operators =>
                   {
                           operators.String(s =>
                           {
                                s.Custom("CustomOperator", c => c.Text("Custom Operator").Handler("customOperatorHandler"));
                           }
                       );
                   })
               )

In this article
Not finding the help you need?