This is a migrated thread and some comments may be shown as answers.

Set pagebreak using a parameter

1 Answer 161 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Carlos
Top achievements
Rank 1
Carlos asked on 27 Mar 2019, 02:39 PM

I have a report and I need to set a group '' 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.

1 Answer, 1 is accepted

Sort by
0
Silviya
Telerik team
answered on 01 Apr 2019, 07:10 AM
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
Tags
General Discussions
Asked by
Carlos
Top achievements
Rank 1
Answers by
Silviya
Telerik team
Share this question
or