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

Issues with Telerik Reporting Group Header

1 Answer 93 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tammy
Top achievements
Rank 1
Tammy asked on 07 May 2013, 02:44 PM
I have run into an issue getting the group header to display the way I need it to.  Here is my scenario:  In my subreport, I have a detail section, which is where the repeating records display.  I have a group header that I need to display under 2 different circumstances - (1) if a certain field value in my detail section changes and (2) at the top of all subsequent pages while the detail records are printing. 

I have #1 working - Where I bind the data to my view model, I check to see if the field value changed from the last record.  I then send in a true or false flag to the constructor of the subreport and set headerSection1.Visible = true.  Problem is, this seems to override the GroupHeaderSection1's PrintOnEveryPage property that I have set to true. We really need that group header to display at the top of each page, as well as each time a specific field value changes.

1 Answer, 1 is accepted

Sort by
0
Elian
Telerik team
answered on 10 May 2013, 09:13 AM
Hello Tammy, 

The group header is processed once, only the first time and afterwards it is only rendered. This is why, if you hide the header the first time, the PrintOnEveryPage won't make it appear visible on the subsequent pages. 
Unfortunately there isn't currently a way to implement the desired scenario. 

All the best,
Elian
the Telerik team

Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.

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