Export to HTML - how to get a better formatted output (like "HTML Tidy")

5 posts, 0 answers
  1. Marcus
    Marcus avatar
    17 posts
    Member since:
    Aug 2012

    Posted 21 May 2012 Link to this post

    If I export HTML the output isn't formatted in any way and therefore an "unreadable" long chunk of text. Is it possible to get a formatted output without having to write a format proc myself (or use an external proc)?
  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 21 May 2012 Link to this post

    Hello Marcus, 

    Formatting the HTML in this way is not currently supported. All of the export settings available can be viewed here
    Hope that helps
    Richard
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 23 May 2012 Link to this post

    Hi Marc,

    Thank you for writing.

    You can export the visual setting from RadGridView by using the ExportVisualSettings property of the exporter. Furthermore, you can tweak the appearance by using the formatting events. More information regarding this matter can be found here: http://www.telerik.com/help/winforms/gridview-exporting-data-export-to-html.html.

    I hope this helps. Let us know if you have any other questions.

    All the best,
    Stefan
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
  5. Marcus
    Marcus avatar
    17 posts
    Member since:
    Aug 2012

    Posted 23 May 2012 Link to this post

    Hi Stefan,

    You're referring to a document for exporting from a RadGridView. I'm talking about export to formatted HTML from a RichTextBox.

  6. Svett
    Admin
    Svett avatar
    728 posts

    Posted 28 May 2012 Link to this post

    Hello Marcus,

    Indeed, the output produced by html export has some room for improvement, and currently there is no way to tweak this feature. We will consider this possibility in one of the next releases.

    All the best,
    Svett
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Back to Top
UI for WinForms is Visual Studio 2017 Ready