In my PageHeader I can use the PageNumber function to display the
PageNumber grouped by any staff like "= PageNumber('headerGroup',
Fields.MyField)".
But when I try to use this Expression to Bind the
Height of the PageHeaderSection, I got Null with the above Expression
insteat of the expected PageNumber.
The Binding Code is like that:
Bindings.Add(new Binding("Height", "= IIF(PageNumber('headerGroup', Fields.MyField) = 1, '10cm', '4cm')"));
What am I doing wrong?
A Binding like
Bindings.Add(new Binding("Height", "= IIF(PageNumber = 1, '10cm', '4cm')"));
works well.
Thanks for your support.