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

How to make section in report visible/Hide

1 Answer 394 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
smith spd
Top achievements
Rank 1
smith spd asked on 29 Sep 2010, 07:14 AM
Folks,

I am programmatically binding Sharepoint List data to Reports.
I have a subreport inside the Main Report. My Question is that, How do I handle the scenario, when, I have to pass a bool value to report or secion of report or subreport that makes it hide/visible as per the bool value.
I am not sure how to pass the bool value though.
Would be great if you can help me with sample solution to explain the hide/visible of report or subreport using bool value Programmatically.

Thanks

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 04 Oct 2010, 01:50 PM
Hello smith spd,

By default only a certain number of report items and properties can handle expression values. The simple binding between the other properties of a report item and an expression is accomplished by adding Bindings objects to the Bindings collection. To set a report item's visibility property our suggestion is to use Bindings. 

Give it a try and let us know how it goes.

All the best,
Peter
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
smith spd
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or