Export formats - Migrating C1Report to FlexReport

Posted by: thomas.hayashi on 13 December 2019, 9:33 am EST

    • Post Options:
    • Link

    Posted 13 December 2019, 9:33 am EST

    Hello,

    I’m migrating C1Report to FlexReport by changing the code.

    Using the following documentation, I was able to migrate to some formats:

    https://www.grapecity.com/componentone/docs/win/online-flexreport/ExportingReportstoVariousFormats.html

    Looking the documentation of the C1Report, it seems some formats are no longer available

    http://helpcentral.componentone.com/nethelp/c1report/C1.C1Report.4~C1.C1Report.FileFormatEnum.html

    1 - So, is there an equivalent of “FileFormatEnum.TextSinglePage” for FlexReport ?

    MemoryStream stream = new MemoryStream();

    rpt.RenderToStream(stream, FileFormatEnum.TextSinglePage);

    2 - Also, I’m using the C1Document.Export.HTMLFilter and as the previous question, is there an equivalent of HTMLTableBased and HTMLDrillDown ? From my understanding, FileFormatEnum.HTML is the HTMLFilter and the FileFormatEnum.HTMLPaged became a property of the HTMLFilter.

    Thanks

  • Posted 16 December 2019, 5:50 am EST

    Hello,

    1. FlexReport does not support exporting to Text files. “Export” topic at the following documentation link shows the supported export formats:

      https://www.grapecity.com/componentone/docs/win/online-flexreport/FeatureComparison.html

    2. HTMLTableBased and HTMLDrillDown export types are also not available in FlexReport. As you have mentioned, “HTMLPaged” type is covered using the Paged property of HtmlFilter. Let me know if you are unable to fulfill any export related feature with the existing export filter.

    Regards,

    Esha

Need extra support?

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

Learn More

Forum Channels