Unbound GroupHeader as PageHeader

1 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 22 Oct 2009 Link to this post


    RadControls version

    .NET version

    Visual Studio version

    programming language C#
    To convert code

    Telerik online converter  

    Page sections (header and footer) are not related to the report itself, but are relative to the margins of the report's media, i.e. to the paper or screen. Thus when you have subreports, their page sections are ignored. In such cases when you need to show some data in a separate section acting as a page header, you can create an unbound group (no grouping criteria) which would be the most outer one and use its GroupHeader section for this purpose. Note however that you would not be able to use PageCount and PageNumber global objects into the GroupHeader/Footer sections as they are available only in the real page sections (PageHeader and PageFooter).

    A sample project showing the functionality at hand is attached to this thread.
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.