Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
280
exporting to pdf showing blank page.
posted

Hi,

when i am exporting the data to PDF. The pdf is showing as blank.

Here is my code:

UltraGrid1.DataSource = table;

ultraGridDocumentExporter1.Export(this.UltraGrid1,"grid1.pdf",GridExportFileFormat.PDF);

Please give the solution. Deadline is coming for code submission.

Thanks & Regards,

Suman George

Parents
  • 469350
    Offline posted

    Hi,

    I'm afraid I can't guess why it's not working just from these two lines of code. Are you sure the grid has any data in it? Does the data in the grid display on the screen? Did you try checking the grid.Rows.Count?

Reply Children