Hide Columns in PdfExport

2 posts, 0 answers
  1. Fit2Page
    Fit2Page avatar
    345 posts
    Member since:
    Feb 2007

    Posted 29 Sep 2014 Link to this post

    I am trying to switch off columns for display from your Demo on:

    demos.telerik.com/aspnet-ajax/grid/examples/functionality/exporting/pdf-export/defaultvb.aspx


    like this:

     Protected Sub DownloadPDF_Click(sender As Object, e As EventArgs)
            isPdfExport = True
            dtgProducts.MasterTableView.GetColumnSafe("Vrd").Display = False
            dtgProducts.MasterTableView.ExportToPdf()
        End Sub

    but the column keeps displaying in the PDF.

    Marc
  2. Fit2Page
    Fit2Page avatar
    345 posts
    Member since:
    Feb 2007

    Posted 29 Sep 2014 in reply to Fit2Page Link to this post

    oh no I see it already...problem solved...nothing on the hand.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top