Please help- Print Button Fails

Posted by: szilbermints on 3 June 2019, 8:23 am EST

  • Posted 3 June 2019, 8:23 am EST

    Hi

    I ma creating some programmatic output in "non bound mode" just writing to cells some thing like that:

    fpSpread1.Sheets(0).Rows.Add(2, 15)

    fpSpread1.Sheets(0).Cells(1, 0).Font.Bold = True
    fpSpread1.Sheets(0).Cells(1, 0).Value = "My Title Here"
    fpSpread1.Sheets(0).Cells(1, 0).ColumnSpan = 4

    fpSpread1.Sheets(0).Cells(3, 1).Value = "Name: "
    fpSpread1.Sheets(0).Cells(3, 2).Value = "Jom Doe"
    ----------------------------------------------

    And when i click print "Button" there is an error message "File Does Not Exist". We are using 5.p version of "web spread".

    -------------------------------
    Also i wonder if newer versions of the control have "Save to Button" in the toolbar such as "Save To Excel", "Save to PDF", etc

    Thank You Much

    s
  • Replied 4 June 2019, 12:06 am EST

    Hi,
    You are using quite older Spread version. We have tried the same code with the latest version and it works fine.
    Please try with the latest version.

    >> Save To Excel and Save to PDF button in Toolbar
    We are sorry, there are no such buttons in Toolbar. But you may get the sample code from the Sample Explorer.
    http://demos.componentone.com/spread/aspnet/controlexplorer/samples/PrintToPDF/Overview.aspx
    http://demos.componentone.com/spread/aspnet/controlexplorer/samples/ExcelCompatibility/Overview.aspx

    Regards,
    Manish Gupta
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels