Page 1 of 1

Invisible value of GroupHeaderBand condition

Posted: Thu Jul 22, 2010 8:08 am
by LukasT
Hello,
I would like to create my agregated static function... But value of GroupHeaderBand condition is empty... Please, why?
Example:

Code: Select all

public static string GetGroupCondition(StiGroupHeaderBand group) {
     return group.Condition.Value;
}
Thank you....

Invisible value of GroupHeaderBand condition

Posted: Fri Jul 23, 2010 2:31 am
by Jan
Hello,

If you want get current GroupHeaderBand condition value you need use following code:

Code: Select all

object value = timulsoft.Report.Engine.StiGroupHeaderBandV2Builder.GetCurrentConditionValue(band);
Thank you.

Invisible value of GroupHeaderBand condition

Posted: Fri Jul 23, 2010 3:07 am
by LukasT
Hello Jan,
thank you for response... and where is possible to get condition expression of this groupHeader?

Invisible value of GroupHeaderBand condition

Posted: Fri Jul 23, 2010 9:09 am
by Jan
Hello,

During report rendering process you can get only result of condition calculation. You can't get original expression because report engine converts each expression to c# or vb.net code during report compilation process.

Thank you.

Invisible value of GroupHeaderBand condition

Posted: Fri Jul 23, 2010 2:54 pm
by LukasT
Ou yes... you are right ;-) It has sense... Thank you!