It is a little difficult to workout the appropriate expression, since the comparison operators do not allow comparison with Null or DBNull value. This area needs improvement, and will be improved in the future versions.
However, here is the rule that fits to your requirement:
- For Expression
of the rule pass =IsNull(Fields.DateField, "9999-12-31")
This way if the field has Null
value, it will be replaced with the max DateTime value.
- For Operator
- For Value
to compare the value of the Expression with the current date.
Hope this information helps.
the Telerik team