RadGrid for ASP.NET

RadGrid Send comments on this topic.
GridKnownFunction Enumeration
See Also  
Telerik.WebControls Namespace : GridKnownFunction Enumeration


Predefined filter expression enumeration. Used by GridFilterFunction class.  

 

Namespace: Telerik.WebControls
Assembly: RadGrid (in RadGrid.dll)

Syntax

Visual Basic (Declaration) 
Public Enum GridKnownFunction 
   Inherits Enum
Visual Basic (Usage)Copy Code
Dim instance As GridKnownFunction
C# 
public enum GridKnownFunction : Enum 

Members

MemberDescription
NoFilter No filter would be applied, filter controls would be cleared
ContainsSame as: dataField LIKE '%value%'
DoesNotContainSame as: dataField NOT LIKE '%value%'
StartsWithSame as: dataField LIKE 'value%'
EndsWithSame as: dataField LIKE '%value'
EqualTo Same as: dataField = value
NotEqualToSame as: dataField != value
GreaterThanSame as: dataField > value
LessThan Same as: dataField < value
GreaterThanOrEqualToSame as: dataField >= value
LessThanOrEqualTo Same as: dataField <= value
Between Same as: value1 <= dataField <= value2.
Note that value1 and value2 should be separated by [space] when entered as filter.
NotBetween Same as: dataField <= value1 && dataField >= value2.
Note that value1 and value2 should be separated by [space] when entered as filter.
IsEmpty Same as: dataField = ''
NotIsEmptySame as: dataField != ''
IsNull Only null values
NotIsNull Only those records that does not contain null values within the corresponding column
Custom Custom function will be applied. The filter value should contain a valid filter expression, including DataField, operators and value

Remarks

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 NotIsEmptyare not supported.

Date: same as Integer.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Telerik.WebControls.GridKnownFunction

Requirements

Namespace: Telerik.WebControls

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

Assembly: RadGrid (in RadGrid.dll)

See Also