New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Predefined filter expression enumeration. Used by GridFilterFunction class.

Some functions are applicable (and are not displayed on filterting) to all the data types:

String type supports all the functions.

Integer: NoFilter, EqualTo, NotEqualTo, GreaterThan, LessThan, GreaterThanOrEqualTo, LessThanOrEqualTo, Between, NotBetween, IsNull and NotIsNull are supported. Contains, DoesNotContain, StartsWith, EndsWith, IsEmpty and NotIsEmpty are not supported.

Date: same as Integer.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public enum GridKnownFunction

Fields

Same as: value1 <= dataField <= value2.
Note that value1 and value2 should be separated by [space] when entered as filter.

C#
Between = 11

Same as: dataField LIKE '/%value/%'

C#
Contains = 1

Custom function will be applied. The filter value should contain a valid filter expression, including DataField, operators and value

C#
Custom = 17

Same as: dataField NOT LIKE '/%value/%'

C#
DoesNotContain = 2

Same as: dataField LIKE '/%value'

C#
EndsWith = 4

Same as: dataField = value

C#
EqualTo = 5

Same as: dataField > value

C#
GreaterThan = 7

Same as: dataField >= value

C#
GreaterThanOrEqualTo = 9

Same as: dataField = ''

C#
IsEmpty = 13

Only null values

C#
IsNull = 15

Same as: dataField < value

C#
LessThan = 8

Same as: dataField <= value

C#
LessThanOrEqualTo = 10

No filter would be applied, filter controls would be cleared

C#
NoFilter = 0

Same as: dataField <= value1 && dataField >= value2.
Note that value1 and value2 should be separated by [space] when entered as filter.

C#
NotBetween = 12

Same as: dataField != value

C#
NotEqualTo = 6

Same as: dataField != ''

C#
NotIsEmpty = 14

Only those records that does not contain null values within the corresponding column

C#
NotIsNull = 16

Same as: dataField LIKE 'value/%'

C#
StartsWith = 3