How to set GroupHeaderBand.Condition.Value?

Stimulsoft Reports.NET discussion
Post Reply
faraz_nazem
Posts: 9
Joined: Sat Sep 24, 2016 4:29 pm

How to set GroupHeaderBand.Condition.Value?

Post 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?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: How to set GroupHeaderBand.Condition.Value?

Post 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.
Post Reply