How to show SQL reports in a web application without Reportviewer control in asp.net - crystal-reports

I want to know if there is any way to show reports without reportviewer control...
My reports are deployed on the report server. Now I want to show these reports in a web application. Please let me know if there's any other way to show reports. I do not want to use report viewer control.

using code all reports can be "exported" to all supported formats like pdf, wrod, excel etc. By export i mean as you show the reports in report viewer and click the export button on the viewer Then you can show the genereted with somekind of viewer for that format.
Best Regards,
Iordan
P.S. You will need to use the report Viewer to achive this but the use will be internal and the user won't see the report viewer as visualization control. There is no way to show report without the use of report viewer control

Related

How To Show Jasper Report in Web Page Without Embedding Java Applet Along With Exporting Options of Several File Formats [ pdf , xls etc ]

I am developing an web application where i need to show a report to users. I am using jasper report for reporting. Now what i want to do is to show the jasper report in my web page along with option to export report in pdf/excel file format according to user preference. I don't want to embed java applet on my web page to show report. I have searched over internet and found sample of showing report in browser pdf reader. It solves my purpose of showing report in web page without using applet but by this i can only export report in pdf format. But i need to give user option of exporting in excel format too. So my question is what way i can achieve my goal as i mentioned above?
Finally i found solution of my question. First, I exported jasper report in a html file & then showed the html file in my web page within a iframe which meet my purpose of showing report within web page. And exporting report is done by several exporter class like JRXlsExporter, JRPdfExporter etc. of jasper report.

On demand sub reports in crystal reports

I have a report where I am using an on-demand sub-report. But my user is viewing this report from a java application. So whenever he run the report he will view this report in PDF.
Report format:
country name location sales
<on-demand subreport>
Now once he run the report he will get all the above fields data in PDF format.
So now if clicked on location field data in PDF will he get the sub-report's data.
PDF isn't intended to generate dynamic content. As such, you'll need to find an approach that will render the desire content in a static manner.
I would suggest that you parameterize your report to display one of these options:
main only
main + subreport
The PDF will either contain the main report's content or the main and subreport's content.
** edit **
If you are using BusinessObjects Enterprise (BOE), you could use the openDocument API to generate a new report instance or the most-recently-generated instance. I don't know if Crystal Reports Server supports this feature for certain.
If you are rendering reports in a Java application, then you will need to a way to intercept the hyperlinks--a server, most likely. By in large, you'd be reinventing Crystal Reports Server/BOE.
Basically I understand as you need two thing.
you need to generate a report and export/generate in pdf.
in you need to attach link or something like editable field pdf.
For First answer, you can easily hide/show of sub-report in crystal report side. but not after report generate in pdf.
So for second answer, you need to pdf professional or editable allow version. after you get that you simply use itextsharp.dll (to generate pdf from asp.net-see below link).
So finally I think, does not needed crystal report.
please check this link.
How to create an editable pdf in asp.net?
Pdf's fields should remain editable using itextsharp in asp.net
Creating a fillable PDF form with ITextSharp

Export button in Crystal Report - no action happens when clicked

I have a web application that uses Crystal Reports 12 to view reports. Reports view successfully, but when I try to export the report to any format (PDF, Excel, etc.), the export button does nothing.
When I copy the report url and enter it in the browser I get a JavaScript error object expected in allinone.js.
Although you did not provide any code, Crystal reports has gotten issues in exporting reports. So I personally recommend getting the latest version.

what are different preview report using excel preview and excel preview(using J ExcelApi) in iReports 2.0.2?

i'm still new in Jasper reports.i still confuse what the different preview report using excel preview and excel preview(using J ExcelApi) in iReports 2.0.2.Which is more common that people use?. is there any effect when we generate the report?. Can anybody tell me?
Jasperreports supports multiple export formats (xls, pdf, csv, etc...). After developing a report using iReport, you can generate a report in any of those export formats. The best way to view those reports is using an external appliction that you can map. For example, xls report is tied with Excel and pdf reports are tied with Adobe Reader. The new version of iReport supports generation of these reports using the application itself (preview). However, what happens in the background is the same whether you view it with external viewer or internaly using iReport "preview". Personaly, I prefer to use external viewer. The exported reports are cached in the compilation directory.

Can you start Crystal Reports 10 in read only mode so users can't create or change a report?

I'm in an environment where I have created reports in CrystalReports 10 and only want my users to view the report from an external application. The application is already set up to open the report with crystal, but I don't want my users to be able create or change the report. I can't seem to find a command line option to do this. Is there a runtime only version of Crystal?
embed crviewer and craxdrt components in your app (delivered with CR developer's edition, free to distribute) so that you'll be able to view reports without modifying them. Basic manipulations (zoom, search, export to pdf, display/hide details or groups) can still be done.
If you must launch this viewer from a command line, I'd advise you to embed it in an office document/file and manage it through VBA. You could for example launch the runtime version of Access (free to distribute) that will contain one generic form for Crystal Reports display.
There are Crystal Reports viewer components which you can use in your projects. They are coming with the Crystal Reports Developer editions and you can use them in almost every programming language. There you can define the report as view only if you want.
Go to SAP.com and search for "Crystal Reports Viewer". It may or may not do what you want.
Also take a look at "Crystal Reports Server". CRS XI is a nice reporting portal with many useful server-side features. Schedule reports to run and auto-publish. Generate PDF or Excel output. Limit access to reports (or groups of reports) by specific users, etc. But for your application you can use HTTP access within your application to the published results. This is a good solution for example when you have a large number of users viewing the same reports.
What about marking the file as read-only? If the viewer opiton isn't open to you.