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

Panel Visibility Based On Report Data

1 Answer 422 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 1
Stephen asked on 10 Jun 2011, 05:18 PM
Hi,

How can I change the visibility of a panel (or for that matter, any UI element) based on the value of a piece of data returned in the report's Select statement?

Can I access the report data in the 'code behind' of the report without going through user functions?

Can I execute code that accepts data fields at a higher level than the individual report field level e.g. to hide or show a panel based on a data value?

Apologies for the 3-in-1 question!

Regards,
Steve

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 13 Jun 2011, 09:29 AM
Hello Stephen,

You can do this directly from the Report Designer by using Conditional Formatting. The Layout pane has a Visible checkbox that should be unchecked when the condition is met and you want the report item to be hidden.

Best wishes,
Steve
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Stephen
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or