This is a migrated thread and some comments may be shown as answers.

Dynamic content in report footer

2 Answers 119 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Emil Einarsson
Top achievements
Rank 1
Emil Einarsson asked on 13 Jan 2011, 09:40 AM
Hi.

I'll try to explain the scenario as good as I possibly can.

We have a wysiwyg "editor" in Silverlight where you can build an invoice.

In the footer we have a <WrapPanel Orientation="Vertical"/>. This WrapPanel has an itemsource of List<FooterPart>. The FooterPart object contains a title(going to be viewed as bold) and a body that can contain more than one line.

Please look at the attached picture. The WrapPanel will place the parts in such a way that if the parts only have a body consisting of one line, two of them can exist in the same column, if not, only one part will exist in the column.

Now the problem is, I need to achieve a somewhat similar effect in the report footer. The report footer will have access to this List<FooterPart> and in some way I need to be able to render the parts in the same way I do in Silverlight using the Wrappanel.

Are there any somewhat easy ways of achieving this? I've also created a support ticket on this about 3 days ago but seeing as it's not an easy question I haven't gotten an answer.

Maybe someone else have had a similar problem. So please share your thoughts and, if any, solutions. :-)

Have a nice day,
E.

2 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 17 Jan 2011, 03:50 PM
Hi Emil,

As the layout in the report is build entirely by the developer and its container items/sections do not mimic the wrap panel functionality, the way to proceed here would be to manually create a Telerik Report programmatically based on the current layout you've got in the WYSIWYG editor.

Kind regards,
Steve
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
0
Emil Einarsson
Top achievements
Rank 1
answered on 17 Jan 2011, 03:57 PM
Hi.

I figured that was the only solution. So I better get to it. :)

Thanks.
Tags
General Discussions
Asked by
Emil Einarsson
Top achievements
Rank 1
Answers by
Steve
Telerik team
Emil Einarsson
Top achievements
Rank 1
Share this question
or