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

HTML Report Rendering

3 Answers 110 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pablo Tola
Top achievements
Rank 2
Pablo Tola asked on 16 Dec 2009, 04:02 PM
I'm trying to render a report in HTML format and use the result stream in a aspx page using a Literal or Text control. My problem is that the rendered result contains tags that are causing the output to break, like <html>, <body>, <head>, etc. I just need the html code that's inside the <body> tag.
I will also like the option to strip all styling from the output and get the raw html without styles.

Thank you.

3 Answers, 1 is accepted

Sort by
0
Chavdar
Telerik team
answered on 16 Dec 2009, 05:11 PM
Hello Pablo Tola,

Currently there is no way to achieve this functionality out of the box. However, you can use the ReportViewer control and hide its toolbar in order to show only the report. Still there is no way to remove the styling tags.


All the best,
Chavdar
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
Sumeet
Top achievements
Rank 1
answered on 24 May 2011, 06:52 PM
Is this funcationality added in any new version? We are trying to build HTML reports using telerik. and same report can be used to build pdf and excel.

Thanks,
Sumeet
0
Steve
Telerik team
answered on 27 May 2011, 09:56 AM
Hello Sumeet,

You would need to use the suggestion of my colleague as there is no way to stream the HTML report directly onto the page without a viewer.

All the best,
Steve
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
Pablo Tola
Top achievements
Rank 2
Answers by
Chavdar
Telerik team
Sumeet
Top achievements
Rank 1
Steve
Telerik team
Share this question
or