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

Report detail locations

2 Answers 30 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
John McLean
Top achievements
Rank 1
John McLean asked on 27 Nov 2009, 04:48 AM
Hi there

I am dynamically adding crosstab tables and charts to a report and populating via the NeedDataSource event.  The problem I am having is setting the locations of these components.  For example I require the following:

CrossTab
Chart

Crosstab
Chart

...

So I have a table of results above the chart showing the table data.  The issue is the Crosstab height will change depending upon the amount of data, so I can't calculate and set the correct location of the chart at runtime.  I'm sure there is something simple I'm missing.  How can I get around this?

Thanks,

John

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 27 Nov 2009, 11:10 AM
Hello John,

This should not be of concern as long as you set both Location and Size for all report items. This way the report rendering would take care of properly positioning the items and make sure the space between items and the layout as a whole is preserved.

Best wishes,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
John McLean
Top achievements
Rank 1
answered on 29 Nov 2009, 10:48 PM
Thanks Steve.  Setting the location did the trick
Tags
General Discussions
Asked by
John McLean
Top achievements
Rank 1
Answers by
Steve
Telerik team
John McLean
Top achievements
Rank 1
Share this question
or