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

Conditional Formatting - Hide Panel when field IsNullorEmpty()

1 Answer 2233 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Terry
Top achievements
Rank 1
Terry asked on 24 Jan 2020, 05:18 PM

Hello,

I have several panels in a report.  Each panel is stacked on the other.  When the underlying field value in one of the panels =IsNullOrEmpty(Fields.mspecifications), I want the entire panel to go away for that report and the other panels to move up and take the place of the panel that has no data.

How do I make this happen? 

In My Crystal Report, I simply check the "Suppress Blank Section" checkbox.

Thanks,

TFISHER

1 Answer, 1 is accepted

Sort by
0
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 27 Jan 2020, 07:42 PM

Hello Terry,

The visibility of report items can be set to hidden when using conditional formatting or bindings. For example, one approach you can take is adding a binding to a panel based on a specific condition in your report, such as a parameter's value.  


In the case of using a parameter, displaying/hiding the first panel can be toggled upon selection:

Please let me know if you have any questions regarding the above.

Regards,
Patrick
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Report Designer (standalone)
Asked by
Terry
Top achievements
Rank 1
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Share this question
or