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

Cannot Hide Report Detail Programatically

1 Answer 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shane Woodruff
Top achievements
Rank 1
Shane Woodruff asked on 02 Aug 2012, 02:42 PM
Before binding a report to a aspx report viewer, I run the following command:
rpt.Items["detail"].Visible=false;

However, the detail is still shown on the rendered report. Should this work?

1 Answer, 1 is accepted

Sort by
0
Elian
Telerik team
answered on 07 Aug 2012, 02:12 PM
Hello Shane,

The code should be working (tested), unless you are using out-proc session - then any changes to the report definition will be lost, since the report is serialized and deserialized every time. In general, if you do not use the detail section of a report, Telerik Reporting might not be the correct tool for your needs. Can you explain what is the goal of this report and what exactly you're doing?
 
Kind regards,
Elian
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

Tags
General Discussions
Asked by
Shane Woodruff
Top achievements
Rank 1
Answers by
Elian
Telerik team
Share this question
or