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

Centering items on the page

4 Answers 73 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stargazer
Top achievements
Rank 2
Stargazer asked on 07 Oct 2009, 11:07 AM
Hello!

I have a question concerning the positioning of items on the report page. First, my scenario:

- One report wich has the Page Header section, 2 groups, Detail Section with a subreport inside it, Page Footer section;
- The sub report has only a crosstab in the report header section, with page header, report footer, page footer, detail sections invisible.

My problem is how to make the crosstab appear always centered in the report pages... Is there a way to do this?

Thanks and regards!

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 08 Oct 2009, 04:03 PM
Hi Stargazer,

It depends on whether you're talking about horizontal or vertical centering i.e. textbox items can grow only in vertical direction and thus they cannot be centered vertically, as they would grow dynamically based on the provided data.
The Crosstab item can grow both ways - horizontally and vertically. You can center it in the report designer, but if you have dynamic row groups and dynamic column groups, it would grow in runtime in both directions and thus it would not be centered.

All the best,
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
Stargazer
Top achievements
Rank 2
answered on 09 Oct 2009, 10:48 AM
Hello Steve (and everyone)!

Maybe I didn't explain myself in the best of ways. :)

What I would like to accomplish is to make the crosstab, which is dynamic and may get any number of columns and rows, to always get centered in the page, despite the size of it.

If I understand correctly, I can't do that by setting properties, is this right?

Regards!
0
Steve
Telerik team
answered on 09 Oct 2009, 12:30 PM
Hi Stargazer,

Your assumption is correct. And since we do not know what the size of the crosstab would be until it is rendered, there is no way to control that programmatically either. Your inquiry makes sense so we would put a thought on it for a future release.

Regards,
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
Stargazer
Top achievements
Rank 2
answered on 09 Oct 2009, 03:16 PM
And another thing that would be very cool is to make the crosstab object be able to maintain a predefined width, adjusting the size of the columns inside it, allowing with this to make sure it would not grow outside the page bounds...

I'll be looking forward to see the next releases of Telerik Reporting!

Regards!
Tags
General Discussions
Asked by
Stargazer
Top achievements
Rank 2
Answers by
Steve
Telerik team
Stargazer
Top achievements
Rank 2
Share this question
or