C1.C1Report.CustomFields.Chart GetDataFromService

Posted by: rafael.mercado on 12 December 2018, 11:13 am EST

    • Post Options:
    • Link

    Posted 12 December 2018, 11:13 am EST

    Hello,

    I’m trying to update some old project to C1FlexReport, I’ve been updating the code to the new FlexReport classes but I found something I’m not sure how to update:

    ((C1.C1Report.CustomFields.Chart) field).GetDataFromService = new C1.C1Report.CustomFields.Chart.GetDataFromServiceDelegate(DataAccess.Helpers.GetDataTable);

    Could you please let me know if this code is something related to your product?

    Thanks,

  • Posted 12 December 2018, 11:31 am EST

    Also,

    There is a C1.Win.C1ReportDesigner.C1ReportDesigner object that is calling the old C1Report, how can I change that to implement the new FlexReport object?

  • Posted 13 December 2018, 5:12 am EST

    Hello,

    The code is not specific to C1Reports. It should be related to some custom code at your end.

    >>There is a C1.Win.C1ReportDesigner.C1ReportDesigner object that is calling the old C1Report, how can I change that to implement the new FlexReport object?

    In order to implement and preview C1FlexReports, you can use the C1FlexReportDesigner instead.

    You can find both 32-bit and 64-bit designers at the location: C:\Program Files (x86)\ComponentOne\Apps\v4.0.

    C1FlexReportDesigner has been explained here:

    http://help.grapecity.com/componentone/NetHelp/FlexReport/webframe.html#WorkingwithFlexReportDesigner.html

    Regards,

    Esha

  • Posted 13 December 2018, 5:25 pm EST - Updated 4 October 2022, 1:36 am EST

    Not sure if I understand, I’m not using the designer application to build the report, there is a control in the form ( C1.Win.C1ReportDesigner.C1ReportDesigner), this controls is calling the C1Report object (public C1Report.C1Report Report { get; set; }); my question here is: do you have another control for the flex reports instead of using the control above?

  • Posted 14 December 2018, 2:11 am EST

    Hello,

    You can use the DesignerApp sample of FlexReport, located at: [i]Documents\ComponentOne Samples\WinForms\C1FlexReport\CS[/i]

    This sample includes the actual source code of the C1FlexReport Designer application that is shipped in binary form with ComponentOne Studio for WinForms (with some minor differences - e.g. the “check for updates” functionality is excluded). In addition to the C1FlexReport component, the application uses several other ComponentOne WinForms controls and components, including the C1FlexReportDesigner control included in the C1.Win.FlexReportDesigner.4 assembly. (That control may be used by itself too, but it should be noted that its interface is subject to change without notice - if you do use it, make sure

    to carefully check the “breaking changes” entries in the ChangeLog.html when

    updating to a new version of ComponentOne Studio.)

    Best Regards,

    Esha

  • Posted 9 January 2019, 12:02 pm EST

    Hi Esha,

    Thanks for your help, returning to this issue, I realized that we are using the source code of your c1.report designer app in our solution, I don’t see the folder "Documents\ComponentOne Samples\WinForms\C1FlexReport\CS" in my c1 installation path, do you have a link in order to download the source code of the c1flexreport designer?

  • Posted 10 January 2019, 12:42 am EST

    Hello,

    If ComponentOne is installed at your end, the product samples are added on your system’s Documents folder, at the path specified earlier.

    However, I have attached the application here for your reference.

    Best Regards,

    Esha

    DesignerApp.zip

Need extra support?

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

Learn More

Forum Channels