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

Crosstab sizing question

3 Answers 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stargazer
Top achievements
Rank 2
Stargazer asked on 08 Jun 2009, 04:39 PM
Hello everybody,

I'm wondering if Is there anyone who can help me with this one.

Basically, I have a report organized as follows:

- Page Header section;
- Report Header Section
- Detail section (empty);
- Report Footer Section;

In the Page Header, I have a fixed size header, with several fields and static info;
In the Report Header I have a crosstab containing dynamic info coming from DataBase;
In the detail, I have nothing.
In the Report Footer (or Page Footer, I still don't know), I'll have info identical to the one on the Page Header.

What Im trying to accomplish is to make sure that my crosstab is always of thew same width as the shape delimiting the info on the Page Header.

I've tried almost every event of the Report to no avail... How can I make this thing work?

Thanks!

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 12 Jun 2009, 07:20 AM
Hi Stargazer,

Thank you for the explanation.
Your scenario cannot be accomplished exactly as described, but you can achieve the same behavior (i.e. a horizontal line) if you nest the crosstab in a panel item and set solid top border with desired width and padding. This way the panel would stretch itself according to the crosstab. Of course this is only applicable if your case allows to have the horizontal line "moved" to the same section where the crosstab is.

Regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Stargazer
Top achievements
Rank 2
answered on 12 Jun 2009, 08:47 AM
Hi Steve!

In fact, this may indeed help. My only concern, which I'll have to check and test, is that all the pages must look the same, only the data is "allowed" to change. So you can have a better idea, the report is a school grade "map". One line for each student, several columns for the number of missed classes and the grades.

Right now I'm having a problem that is if the students are enough to break a page, I have no crosstab header :S But if I put the crosstab on the detail section, I get several times over the crosstab, on for each line on my database...

Thanks!
0
Stargazer
Top achievements
Rank 2
answered on 12 Jun 2009, 09:36 AM
It seems I won't be able to cut it with this approach. Maybe a small example would give a nice idea of what I need to do... I'll open a support ticket for this one. :)
Tags
General Discussions
Asked by
Stargazer
Top achievements
Rank 2
Answers by
Steve
Telerik team
Stargazer
Top achievements
Rank 2
Share this question
or