I am trying to create a report that can have multiple columns and first column which is caption for each row should only appear once and should not repeat like other data columns, I just want to find out is this possible with multi column support? if yes how?
I also want to know how to insert page break at runtime?
Your help will be much apperciated
regards
haroon
3 Answers, 1 is accepted
Data cannot be arranged in horizontal columns. However, we will have that feature in mind for future versions.
As for the page breaks, you can set a report section's PageBreak property to what you need and the rendering engine will page the report for you.
I hope this information helps.
Kind regards,
Ross
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center

Thanks for your reply
After trying few things I thought it is not supported currently and trying to generate report dynamically,
I now set the caption at design time for each row and add the data columns at run time and I have five columns on each page, so once I have rendered first five columns, at that point the page break should be inserted so that the next columns should appear on the next page and there should be five columns for each page.
I have set the report's page break property and tried all possible values it still not inserting the page break.
When I'm rendering report I set the location of the each text box based on the column and row its being rendered.
For example: for first column for first page its
1 inch, 3 inch
and for first column for 2nd page it would be
1 inch, 11 inch if height of the detail section is 10 inch, is this correct?
I hope I have explained my problem correctly.
I would highly appreciate your quick response as we need finish this assignment urgently.
With Kind Regards
Haroon
As far as we understand you would like to have data flowing from left to right in TextBoxes, where the leftmost TextBox is a caption and the other TextBoxes will contain data.
A PageBreak cannot be defined on a Report. It can only be defined for a section. So if all of your TextBoxes are in the DetailSection, you can set its PageBreak property to After. In this way there will be one DetailSection on each page and it is up to you to layout your TextBoxes in that DetailSection.
Also, you should not use the built-columns, since their direction is down then across. In other words they will not serve your needs. You will have to "simulate" columns.
In order to make our suggestions clearer, we have prepared a very simple report that demonstrates those concepts. All of the TextBoxes are in the DetailSection. There are no columns. The DetailSection has PageBreak after, so you will have one DetailSection per page. We have prepared some sample data (see the Report's constructor) and if you want to achieve horizontal layout, then your original data must be in the same format, i.e. the data for all TextBoxes on a page should be in a single DataRow in the DataSource. There is no other way to make the report look like data is flowing from left to right, since data is in fact flowing from top to bottom.
Please examine the attached report and let us know if you have any additional questions.
We really hope that it will help you achieve your assignment on time.
Regards,
Ross
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center