Can MVC WebAPI & Javascript be used to display reports?

Stimulsoft Reports.NET discussion
Post Reply
Craig
Posts: 29
Joined: Sat May 10, 2014 4:53 pm

Can MVC WebAPI & Javascript be used to display reports?

Post by Craig »

I would like to use ASP.NET but instead of using the report's ASP.NET server controls, I would like to use MVC WebAPI (REST) & Javascript. Is this possible?
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Re: Can MVC WebAPI & Javascript be used to display reports?

Post by Jan »

Hello Craig,

I need request additional information from your side. Can you say how you want to use our product? Show report? Design report? Generating reports without showing?
We have ASP.NET MVC versions of our components. Did you see it?

Thank you.
Craig
Posts: 29
Joined: Sat May 10, 2014 4:53 pm

Re: Can MVC WebAPI & Javascript be used to display reports?

Post by Craig »

I want to show and design reports in an ASP.NET WebForms app but use http requests from the browser instead of embedding server controls in aspx/ascx pages. The designer will be in Flash and the viewer is html. Can these be done using Ajax calls only?
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Can MVC WebAPI & Javascript be used to display reports?

Post by Vladimir »

Hello,

Our Flash and HTML5 components are supplied as a DLL library, and therefore you will not be able to deploy them on the client without the server side.

Thank you.
Craig
Posts: 29
Joined: Sat May 10, 2014 4:53 pm

Re: Can MVC WebAPI & Javascript be used to display reports?

Post by Craig »

I understand that and that's not what I am asking. I am asking if the report markup can be retrieved using ajax calls (jQuery's .ajax() function or angularjs's $http or similar actions) instead of doing postbacks to a page with asp.net server controls.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Can MVC WebAPI & Javascript be used to display reports?

Post by HighAley »

Hello, Craig.

Unfortunately, it's impossible to avoid using server side controls.
There is only way to generate report on server side and export it to HTML. But it will be impossible to use any our Designer or Viewer.
Why can't you use server side controls?

Thank you.
Craig
Posts: 29
Joined: Sat May 10, 2014 4:53 pm

Re: Can MVC WebAPI & Javascript be used to display reports?

Post by Craig »

I can use them. I wanted the app to be a SPA one.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Can MVC WebAPI & Javascript be used to display reports?

Post by HighAley »

Hello.

It's possible to use Flash Designer and HTML Viewer in a SPA using frames only.

Thank you.
Post Reply