This is a migrated thread and some comments may be shown as answers.

Checking null values

1 Answer 447 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kem Arda
Top achievements
Rank 1
Kem Arda asked on 02 Sep 2009, 11:33 AM
I need to check out if two fields are null in dataset Then, if two fields are null, then i wantto set the visible property of layout of detail section( of corresponding records) to false. O do following check:

Expression     Operator           Value
=Fields.X           =                      = Null


And finally how filter of detail section of report looks:
=Fields.X = = Null

However nothing happens. Help pls.
Thanks...


1 Answer, 1 is accepted

Sort by
0
Accepted
Hrisi
Telerik team
answered on 04 Sep 2009, 04:58 PM
Hi Kem Arda,

Please note that the expression language is not a programming language and you should rely on the syntax described in our documentation.

You can use Is Null to create the expression for the Conditional Formatting rule as shown on the attached image. All Style properties can be conditionally set, including Visible.

 
All the best,
Hrisi
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Kem Arda
Top achievements
Rank 1
Answers by
Hrisi
Telerik team
Share this question
or