Height binding is not working as expected

2 posts, 0 answers
  1. Nick
    Nick avatar
    12 posts
    Member since:
    Jun 2017

    Posted 15 Sep 2017 Link to this post


    Please help me to get why the below binding - Height of PageHeaderSection - returns the false value on all pages. On first page it should be 2.5 inches, on all others - 1 inch, but 1 inch on all pages.

    Property path     Expression

    Height               =IIf(PageNumber = 1, "2.5in", "1in")

    Thank you

  2. Todor
    Todor avatar
    175 posts

    Posted 19 Sep 2017 Link to this post

    Hi Nick,

    In Telerik Reporting the Page sections have the same height on all physical pages. We can suggest you two workarounds:
    • Use a ReportBook gathering reports with different PageSettings.
    • Hide a page header/footer section on a page. In this case the section will collapse, and the space will be occupied by the report detail section. You can include a Panel (with Height as required for pages after the first) in the top of the detail section that would be invisible on the first page and visible on the others. The PageHeader (with Height as required for the first page) would be visble on the first and invisible on the other pages. This way the Panel would replace the PageHeader on all but the first pages. Note that the result of this approach may depend on the content of the PageHeader.

    Note that your current subscription allows you to open a support ticket. The ticket would guarantee you 24h response time, while the forum posts are usually answered within 72h, but there is no guarantee that there would be an answer.

    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top