New to Telerik UI for WinFormsStart a free 30-day trial

Expression Syntax and Operators

Updated on May 7, 2026

This article describes the syntax rules for building expressions in RadExpressionEditor. It covers literal values, field references, operators, constants, and operator precedence.

Literal Values

Expressions support three types of literal values. Each type uses a specific delimiter.

TypeDelimiterExample
StringSingle quotes'Hello World'
DatePound signs (#)#01/15/2025#
NumberNone (direct value)42, 3.14, 1.5E3

Numeric values support decimal notation and scientific notation (for example, 1.5E3 equals 1500).

Field References

Reference grid column values by enclosing the column name in square brackets.

  • [ProductName]
  • [UnitPrice]
  • [OrderDate]

If a column name contains special characters (spaces, operators, brackets, or other reserved characters), the square bracket syntax handles escaping automatically.

  • [Unit Price]
  • [Order#]

Arithmetic Operators

OperatorNameExampleDescription
+Plus[Price] + [Tax]Adds two numeric values or concatenates two strings.
-Minus[Total] - [Discount]Subtracts the second value from the first.
*Multiply[Quantity] * [UnitPrice]Multiplies two numeric values.
/Divide[Total] / [Count]Divides the first value by the second.
%Modulo[Value] % 2Returns the remainder after division.

Comparison Operators

OperatorNameExample
=Equal[Status] = 'Active'
<>Not equal[Category] <> 'None'
<Less than[Quantity] < 10
>Greater than[UnitPrice] > 50
<=Less than or equal[Age] <= 65
>=Greater than or equal[Rating] >= 4

Logical Operators

OperatorExampleDescription
AND[Price] > 10 AND [Price] < 100Returns true when both conditions are true.
OR[Status] = 'New' OR [Status] = 'Pending'Returns true when at least one condition is true.
NOTNOT([IsDeleted])Negates a Boolean expression.

Special Operators

OperatorSyntaxExampleDescription
INValue IN (List)[Country] IN ('US', 'UK', 'CA')Returns true if the value matches any item in the list.
LIKEValue LIKE Pattern[Name] LIKE 'A%'Returns true if the value matches the specified pattern. Use % or * as a wildcard for any sequence of characters. A maximum of two wildcards per pattern is allowed.
BETWEENValue BETWEEN Start AND End[Price] BETWEEN 10 AND 100Returns true if the value falls within the specified range, inclusive.

Constants

ConstantDescription
TRUEBoolean true value.
FALSEBoolean false value.
NULLRepresents a null (missing) value.

Operator Precedence

Operators are evaluated in the following order from highest to lowest precedence. Use parentheses to override the default order.

PriorityOperators
1 (Highest)Unary +, Unary -
2*, /
3% (Modulo)
4+, -
5=, <>, <, >, <=, >=
6IN, LIKE, BETWEEN
7NOT
8AND
9 (Lowest)OR

Building Complex Expressions

Combine functions, operators, and field references to create complex expressions. Use parentheses to group sub-expressions and control evaluation order.

  • IIF([UnitPrice] * [Quantity] > 1000, 'High Value', 'Standard')
  • IIF(ISNULL([ShippedDate], TODAY()) > [RequiredDate], 'Late', 'On Time')
  • UPPER(SUBSTR([ProductName], 0, 3)) + '-' + CSTR([ProductID])
  • [UnitPrice] * [Quantity] * IIF([Discount] > 0, 1 - [Discount], 1)

See Also