export to pdf of table not showing

3 posts, 0 answers
  1. Doug
    Doug avatar
    104 posts
    Member since:
    Aug 2014

    Posted 27 Oct 2016 Link to this post

    I have gridview of a table so I can export it.
    if I can export off of some other item like a panel - that may help.
    anyhow my grid has html and I put a single plain text at top to test and when I export to pdf - only that text shows.
    when I export to word - everything shows (properly)

    is there a command I need to do to tell pdf to use html table?
  2. Kostadin
    Kostadin avatar
    1733 posts

    Posted 01 Nov 2016 Link to this post

    Hello Doug,

    Could you please let me know what king of html you are trying to export. In case you need another table at the top you need to follow the steps in the following help article. Otherwise I would appreciate if you share more details in order to provide you with a proper solution.

    I am looking forward to your reply.

    Telerik by Progress
    Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
  3. Doug
    Doug avatar
    104 posts
    Member since:
    Aug 2014

    Posted 09 Dec 2016 in reply to Kostadin Link to this post

    I found a few help posts about this issue. it was I just needed some tags
    <table ...
    <col />

    and also I needed to supply a width in my table <table width="800px" ...
    and also in the export I added
    gv.ExportSettings.Pdf.PageWidth = System.Web.UI.WebControls.Unit.Pixel(800)

    these fixed my issues
Back to Top