Set pagebreak using a parameter

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

    Posted 27 Mar 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
    Admin
    Silviya avatar
    335 posts

    Posted 01 Apr 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,
    Silviya
    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