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

Page Header Problem

3 Answers 304 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Veljko Janjic
Top achievements
Rank 1
Veljko Janjic asked on 26 Nov 2007, 09:44 PM
I have report which has many columns so they span over two pages, also I need to have column headers on top of every page.

I would usually do this by adding headers to page header section, but in this case on every page it shows page headers form first page in design mode. If I add headers to report header section it works fine, but it doesn't show on every page.

I tried adding code in pageHeader_databound which hides/shows panels that contain headers, but setting visible property doesn't reflect on report.

Any suggestions?

Thanks in advance




3 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 28 Nov 2007, 08:53 AM
Hello Veljko Janjic,

Thank you for contacting Telerik Support.

That is a standard case. What you should do is add the headers to both the ReportHeader and PageHeader and align them properly, and then set the PageHeader's PrintOnFirstPage to false. In this way, you will have the headers on every page. On the first one they will come from the ReportHeader and on all the other pages they will come from the PageHeader.

If you want, you can try to create a new report with the New Report Wizard. When you reach the Layout page, choose a "Stepped Layout" and the wizard will create the report that I described above. Here is the graphic representation of what I was talking about:



If you have any other questions, do not hesitate to contact us.

Greetings,
Ross
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Tahir Ali
Top achievements
Rank 1
answered on 07 Apr 2008, 08:18 AM
I have report which has many columns so they span over two pages, also I need to have column headers on top of every page.
if i put headers in ReportHeaderSection they appear fine but appear at first Page only, If i add headers in PageHeader section they appear on all pagers but show only initial headers on each page for example i have following columns.  C1,C2,C3,C4,C5 due to their size,Details of  C1 to C3 appear at Page 1 while details of C4 and C5 appear at Page2 but on both pages column headers of C1 to C3 appear while i need to have Headers of C4 and C5 at Page3. I am generating report Programmatically by reading columns and header details from external configuration file.

regards,
Tahir Ali

0
Rossen Hristov
Telerik team
answered on 08 Apr 2008, 07:52 AM
Hello Tahir Ali,

To achieve this you can use an unbound group and place all the headers in the GroupHeader section. Try this approach and write us back if you encounter any difficulties.

Greetings,
Ross
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Veljko Janjic
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Tahir Ali
Top achievements
Rank 1
Share this question
or