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

Calendar-style report repeats calendar for each day

1 Answer 84 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 10 Jun 2011, 02:58 PM
Hi,

I'm trying to create a report that represents a calendar with appointments listed for each day. I am following the example provided here: http://blogs.telerik.com/blogs/posts/11-05-03/creating_a_calendar_report_with_telerik_reporting.aspx

PROBLEM 1:
The problem is that when I preview the report at both design and runtime the report generates a calendar for each day in my date range. So for example if the date range is 1 June 2011 through 30 June 2011 I get 30 pages with the June calendar on each page. I can't for the life of me figure out why. Again, I followed the code example above and cannot determine the difference between the sample solution and mine.

PROBLEM 2:
This is not as important but the subreport in the body of the crosstab is positioned to the 0, 0 position of the crosstab itself, not the crosstab of the body. The problem exists in the sample above.

PROBLEM 3:
How can I allow the crosstab body to grow? If the contents of any one day in the calendar is greater than the available space I want the day bounding areas to expand.

Thanks,
Dave

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 13 Jun 2011, 02:05 PM
Hi Dave,

Up to your questions:
  1. Based on the description it seems that you have added the Crosstab to the Report.Detail section and have set the CalendarDataSouce to Report.DataSource. This causes the report to generate a detail for every data row. Thus check if the Report has DataSource set and if so reset it.
  2. About issues 2 and 3 we are not sure what is wrong. Generally the Crosstab and SubReport items grow depending on data i.e they would always grow to accommodate its children. The sample in the blog post behaves the same way.

Check out the suggestion for your first inquiry and if you still experience any troubles, we will appreciate if you open a support thread and send us the problematic report to debug locally.

Best wishes,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Dave
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or