Set pagebreak using a parameter

2 posts, 0 answers
  1. Carlos
    Carlos avatar
    1 posts
    Member since:
    Feb 2016

    Posted 27 Mar 2019 Link to this post

    I have a report and I need to set a group 'pagebreak' property to 'after' if a parameter on the report is 'true'. Is there a way of doing it?

    I am using the report designer for WPF.

  2. Silviya
    Silviya avatar
    422 posts

    Posted 01 Apr 2019 Link to this post

    Hi Carlos,

    Yes, you can do this adding a new binding rule for the group section. For example, you have a boolean parameter called IsPageBreak. The binding would look like the following:
    Property path: PageBreak
    Expression: = IIf(Parameters.IsPageBreak.Value = "True", "After", "None")

    Best Regards,
    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