Page Header Problem

4 posts, 0 answers
  1. Veljko Janjic
    Veljko Janjic avatar
    20 posts
    Member since:
    Nov 2005

    Posted 26 Nov 2007 Link to this post

    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




  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 28 Nov 2007 Link to this post

    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
  3. DevCraft banner
  4. Tahir Ali
    Tahir Ali avatar
    1 posts
    Member since:
    Apr 2008

    Posted 07 Apr 2008 Link to this post

    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

  5. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 08 Apr 2008 Link to this post

    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
Back to Top