Hello!
I would like to test Aspose with a word template which have header and footer. In the header and footer I would like to show common data of my object and in the middle I would like to show the data of my list, which is a property of my object.
But when I iterate through my List-Property of my object, I get the following error:
System.InvalidOperationException: 'An error has been encountered at the end of expression ‘m.Liste.B’. Can not get the value of member ‘Liste’ on type 'Aspose_Header_Footer.Models.ListItem
How is the procedure or the best way, when I would like to show property values (for e.g. “HeaderProperty1”) of my object in the header and how can i iterate through another property which is a list?
Here is my sample project, so that you can reproduce my problem!
Aspose_Header_Footer.zip (371.0 KB)
Thank you in advance for your answer!
Best regards
Batiatos