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

Determine runtime location of panel

1 Answer 110 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rusty
Top achievements
Rank 1
Rusty asked on 26 Mar 2012, 09:24 PM
Hello,

I am wondering if there is a way to tell what the runtime location of a panel or other report element will be once the data is populated and the report is rendered...?

I am generating a report with some unknown amount of data in a table, then rendering the report into a pdf using the ReportProcessor and RenderingResult classes. Once the pdf is rendered, I hope to append some additional objects to the pdf outside of telerik reporting, so I set up an empty panel at the bottom of the report for this piece. The issue is though that I have to add my objects by specifying the x and y PDF page coordinates, I just need to know (even approximately) how far down my panel will be.

Is this possible? As far as I can tell the panel.Location coordinates are given in terms of the design time layout.

Thanks!

Robert

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 27 Mar 2012, 09:09 AM
Hello Robert,

Your findings are correct, the Location of a report item would always contain the location specified in the report definition. The actual location is defined after the report has been processed and paged and you do not have access to these.

Greetings,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
Tags
General Discussions
Asked by
Rusty
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or