Page 1 of 1

How to set GroupHeaderBand.Condition.Value?

Posted: Mon Feb 06, 2017 10:37 am
by faraz_nazem
Hi,

I am try to set GroupHeaderBand.Condition from my business object property in GroupHeaderBand.Begin Render event like this:

Code: Select all


GroupHeaderBand2.Condition.Value =  "{BusinessObject.Property}";

or

GroupHeaderBand2.Condition= new StiGroupConditionExpression("{BusinessObject.Property}");

but it not work,
how can I set Condition property correctly?

Re: How to set GroupHeaderBand.Condition.Value?

Posted: Mon Feb 06, 2017 2:23 pm
by HighAley
Hello.

In the compiled report the Conditions like some other properties are converted to methods.
Unfortunately, it's impossible to set the Condition of the Group Header this way.
And it's impossible to change the value of the Conditions after the compilation.

Thank you.