Does anyone has been able to create an ASP.NET MVC app with FlexViewer?

Posted by: aalvarezc74 on 19 December 2020, 7:28 pm EST

    • Post Options:
    • Link

    Posted 19 December 2020, 7:28 pm EST

    hi all,

    Does anyone has been able to create an ASP.NET MVC app by using the FlexViewer control to show a FlexReport by getting the report data through a WEB Api??

    I have tried for about 20 hours, but I’m just getting blank page instead of the report data.

  • Posted 20 December 2020, 5:23 pm EST

    Hi adolfo,

    We have replied to your query on the SupportOne portal:

    https://supportone.componentone.com/casedetail/470036

    For reference, we are copying the response here:

    Please refer to the sample attached which demonstrates how you can add a ReportViewer control in the MVC application.

    At your end, can you let us know if there is any error thrown in the console? The issue can be due to the fact that the demos use a relative path to the WebApi instead of an absolute path. In this sample, the service URL is set to an absolute path. If you have created your own WebApi application, then you can use its URL as the service URL property.

    Note that the FlexViewer only works with C1WebApi. If you are using some other WebApi, then it will not work. Please refer to the demo link below that demonstrates how to create C1WebApi with report services.

    https://www.grapecity.com/componentone/docs/webapi/online-webapi/ReportServices.html

    Regards,

    Ashwin

    FlexViewerDemo.zip

Need extra support?

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

Learn More

Forum Channels