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

Reporting HTML Question

2 Answers 119 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 19 Aug 2008, 02:15 PM
Any help with this would be greatly appreciated.  I have a .aspx page with html and labels that are being populated from code.  I am trying to use the report in the same way the letter report telerik example is.  The HTML code is just one page and looks like a report document.  So here is my question.

How can I get the html to show up in the telerik report for the style of every page?  If anyone can direct me how to do this it would be great.  I have the telerik control on one page and the html on the other.  Would love for the html to be the "style" of the information included within the telerik report component.  Is there a way to do this or does it all have to be built within the code behind?

Thanks in advance,
David

2 Answers, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 19 Aug 2008, 04:53 PM
Not only do I have the question above.  But in my code behind on my web project, I can't access me.pagesettings.  Am I doing something wrong?  I can't figure out how to style this thing at all and can't access some settings the tutorial says I should have access to.  I am using Q2 2007 version and using the demos for that version but can't get access to certain things.

Any help would be greatly appreciated.
0
Chavdar
Telerik team
answered on 20 Aug 2008, 09:34 AM
Hello David,

Currently you cannot show HTML content in Telerik Reporting. In your case, however, you can recreate the same layout using the report items.

As for your second question you have to use Me.PageSettings only inside the Report class or if you are calling this code outside the report it should be in the following way:

    Dim report As New Report1()
    report.PageSettings.PaperKind = Drawing.Printing.PaperKind.A3

Sincerely yours,
Chavdar
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Chavdar
Telerik team
Share this question
or