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

How to hide panels if list/table is empty

1 Answer 116 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Angelo
Top achievements
Rank 1
Angelo asked on 19 Jul 2017, 08:32 AM

Hi!
I am working on Telerik Reporting and I need to hide panels when the list I use by ObjectDataSource is empty. How can I handle it? Those blue are panels, and just below the lists. But they are not together, do I have to connect them by something like subreport? Do I have to write some code?

Thanks a lot!

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 19 Jul 2017, 11:35 AM
Hello Andelo,

The Table item can be hidden by setting its NoDataMessage and NoDataStyle.Visible properties - How to: Set a No Data Message. To shrink the Panel item, please check the settings suggested in How Report Items are Arranged in a Section.

I hope this helps.

Regards,
Stef
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
General Discussions
Asked by
Angelo
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or