HTML Handling in PDF

40 posts, 0 answers
  1. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 13 Jan 2009 Link to this post

    Hello Justin,

    Div and span tags would be supported, but table tag would require more effort and would not be included in the first draft, which would basically as the name suggests (rich textbox) support rich text formatting only.

    Kind regards,
    Steve
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  2. Sypher
    Sypher avatar
    79 posts
    Member since:
    Aug 2006

    Posted 16 Feb 2009 Link to this post

    Still expecting this fix at the end of February?  Is it already in one of the Internal Builds maybe? :-)
  3. DevCraft banner
  4. Sypher
    Sypher avatar
    79 posts
    Member since:
    Aug 2006

    Posted 16 Feb 2009 Link to this post

    Oh, nevermind about the Internal Build question.  I just noticed the Internal Builds are only available for the RadControls for ASP.NET AJAX product and not the Telerik Reporting product. :-)
  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 17 Feb 2009 Link to this post

    Hello sypher,

    The whole Q1 2009 release (not only Reporting) has been shifted with two weeks and will be available in the beginning of March 2009. We would not be releasing internal builds until then, and we are still considering if we would offer internal builds for reporting at all. They are needed in the RadControls suite, when there is a major showstopper problem in any of the controls, while if there is a major showstopper for Reporting, we would more likely release it as a service pack, since it is a single product.

    Thank you for the understanding.

    All the best,
    Steve
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Mohammad
    Mohammad avatar
    13 posts
    Member since:
    Sep 2008

    Posted 09 Mar 2009 Link to this post

    hi all
    please to tell me how to display data that inserted from radEditor in report viewer

    i need compleate example if possible
  7. Bruce Hochstetler
    Bruce Hochstetler avatar
    155 posts
    Member since:
    Apr 2007

    Posted 09 Mar 2009 Link to this post

    Hi Mohammad,

    Place this javascript funciton in the page that has your telerik reportviewer...

    <telerik:reportviewer id="ReportViewer1" runat="server"><telerik:reportviewer>
    <script type="text/javascript" language="javascript">
       ReportViewer.prototype.PrintReport = function()
       {
            this.PrintAs("Default");
        }
    </script>

    this works for 2.9.8.1209 release.

    Bruce
  8. Mohammad
    Mohammad avatar
    13 posts
    Member since:
    Sep 2008

    Posted 10 Mar 2009 Link to this post

    i dont understand you

    i need like this

    radEditor1.Content=objDataReader["content"].ToString();

    but in this case ,,, i need ReportViewer1.Report= ,,, etc

    thanks in advanced
  9. Bruce Hochstetler
    Bruce Hochstetler avatar
    155 posts
    Member since:
    Apr 2007

    Posted 10 Mar 2009 Link to this post

    Hi Mohammad,

    I assumed your issue was how to get rich content (html) data from a radeditor to display in a report. Without going into a tutorial on how to create a report I can give a short explanation.
    • Build a report using the telerik report interface - pick items from your studio toolbox. We'll call it 'MyReport'. In the report you need to assign the report's textbox to the name of the editor's dataset name, e.g. in report's property page 'value' =EditorData
    • In report code create a method that will build a dataset (sql or whatever your datasource is), the data will have a dataitem called 'EditorData' or whatever you want to call it as long as its the same as the reports textbox binding.
    • Build an aspx page that contains a reportviewer (ReportViewer1), its here that you want to add the javascript to the page code to view html data.
    • In the Page_load of the aspx page create your report;  Report _report = new MyReport()
    • Assign the report just created to the viewer; ReportViewer1.Report = _report

    I hope that helps and is what you were asking for.

    Bruce

  10. Sypher
    Sypher avatar
    79 posts
    Member since:
    Aug 2006

    Posted 25 Mar 2009 Link to this post

    The new HtmlTextBox in the Q1 2009 release seems to have fixed all of my problems with HTML on reports. Woo hoo! :-)
  11. Diederik
    Diederik avatar
    12 posts
    Member since:
    Feb 2009

    Posted 03 Nov 2009 Link to this post

    Hello,

    We have some HTML content stored in the database, created with the Telerik ASP.NET Ajax htmleditor control.

    We would like to export this HTML content - which can span several printed pages - to a pdf document with a header and footer section. The HTML content can contain table elements amongst others.

    Is this something that could be done using the Telerik Reporting HtmlTextBox control? If not, is there a way to do this with the current release of Telerik products?

    Best Regards.
    Diederik.
Back to Top
DevCraft banner