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

Report Works in preview but not in HTML

3 Answers 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stephanie
Top achievements
Rank 1
Stephanie asked on 04 Mar 2011, 02:10 AM
I have a simple report that has 4 columns.
Section, Subsection, Mandatory, and detail.

The report is grouped by the Section, Subsection, and Mandatory fields.

The page breaks and the report looks as I want it on the preview in the design but it has different page breaks in the HTML preview. And if the actual running of the code, the detail data looks good but the Section and Subsecition never change.

I am using VS 2010,with C# and the most current version of Telerik Reporting. This is an ASP application. Any ideas on how to fix this?

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 09 Mar 2011, 10:24 AM
Hello Robert,

The output of a report rendered in HTML and Preview differs because both medias are quite different. The 1st (HTML) is dedicated to displaying information on screen and the page is infinite by width and height; in contrast the 2nd format - image rendering supports physical pages and is meant not only for reading on screen but for printing.

According to whether the format supports physical pages, we separate the export formats on two groups: page-oriented (PDF, Image (print preview), print, XPS, RTF) and non-page oriented (HTML/MHTML, Excel, CSV).

For the page-oriented formats the content layout is on horizontal and vertical pages according the the page settings of the report, while for the rest of the formats take into considerations other characteristics of the media like the grid of the Excel worksheet.

For more info please refer to:

Regards,
Steve
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Andrew
Top achievements
Rank 1
Veteran
Iron
answered on 25 Mar 2011, 04:54 PM
so what is the best way to design a report the will exist in a webforms app and on the web, because right now I designed it for a webforms app and it looks great but when it is views on the web it looks like crap......

is it best to maintain two versions of a report web verion and a winforms version?
0
Hrisi
Telerik team
answered on 31 Mar 2011, 11:01 AM
Hi Andrew,

We cannot know what you mean by "on the web it looks like crap......" because you did not explain what exactly is wrong with the view and did not send any report for preview on our end. How the report looks in the web you can see at design-time in the Html Preview.

Greetings,
Hrisi
the Telerik team
Tags
General Discussions
Asked by
Stephanie
Top achievements
Rank 1
Answers by
Steve
Telerik team
Andrew
Top achievements
Rank 1
Veteran
Iron
Hrisi
Telerik team
Share this question
or