ASP.NET / Crystal Report: Crystal Report Viewer Toolbar is Broken - crystal-reports

I am currently using Crystal Report (for Visual Studio 2010), version 13.0.2
There's a funny error every time I run my web form:
I tried removing the existing style sheet of my web form, and the viewer's toolbar is showing properly.
Is there a way to resolve this? I still want to use the existing style sheet.

Related

JasperReport - different orientation(landscape and portrait) in same report

As asked by few other members, on similar line, I want to have landscape orientation for only one of my subreport. I am using iReport 5.6.0 and JasperReports 5.6.0.
I searched and almost all solutions suggest to have 2 separate reports and add/append them programmatically as mentioned here.
This solution is probably not ideal for me as I have 4 dynamic subreports(can produce variable number of pages at run time) and I want only third subreport to be landscaped. So, at run time it will be difficult to identify the point to append my landscaped report.
Questions that I have:
Is this native feature now introduced in any new version of iReport to support different orientation of subreport?
If no inbuilt support in iReport, how can I programatically add
subreport in between, if I don't know at which location/page the subreport will be added.
I tried to look for a solution in JasperSoft Studio as well, but not success.
Thanks in advance.
Starting with JasperReports v6.0 you may achieve what you want with a Report Book. It is basically a report bundle where each report can have a different orientation.
But since Jaspersoft Studio(with version 5.5.0) became the official design client for JasperReports, you will not find this feature in iReport. So starting with Jaspersoft Studio v6.0 you will be able to use it.

How to create JapserServer report templates?

I'm pretty new to JasperReports, Jaspersoft Studio, and JasperServer but I've got a JasperServer instance up and running and have been using it to create reports from Ad Hoc views. This works well but I'd like to make some report templates so that reports run from JasperServer can have branded headers/footers etc.
I worked through this tutorial and was able to create what I thought was a fine template but when I try export it as a JasperServer template I get all sorts of validation warnings and indeed trying to run reports using it from the server results in errors.
Here's an example of the warnings I'm seeing:
The style ChartValueAxisTickFormat was not found in the template
And the errors I get on the server when trying to use these templates look like those described here. I have tried using templates without any text fields or variables though. In fact, the unexpected tokens it complains about are usually actual field ids... do I need to anticipate the fields that would be used when creating a template? Wouldn't this defeat the purpose of having templates for reports created from ad hoc views?
Anyway, there's quite a lot of information out there around creating templates for Jaspersoft Studio (iReport) reports but not a whole lot on templates for JasperServer reports.
It seems like there's something fundamental about templates for JasperServer reports that I'm missing. I'd appreciate any help with either the issues I am describing or being pointed toward better documentation for creating these templates specifically.
Edit:
I'm using Jasper Studio Profession 5.5.0.final on the desktop and a Jaspersoft BI Professional for AWS 5.5 instance as the server.
Report Template as in tutorial you have linked are for Jaspersoft Studio / static reports only. Adhoc templates are different types of objects which are described here
I have encountered the same errors, and I have solved it by simply adding a styles to my report, in other words:
In the outline of your report, Right click on Style -> create Style, then just change the name of the style by each name of missing styles apperead (for example, ChartValueAxisTickFormat).
After creation of 55 styles in your report template in jasper Soft Studio, save the report, then export it as report template.
I hope this will help you.

interactive jasper reports

I am using jasper reports in my project to generate html reports. But the generated reports are static. Now we want to add some interactive features in it, like simple sorting and searching of columns. This is preferably to be done the client side. How can this be achieved ? So far I have tried to embed jquery into the generated report with no luck. Does jasper report provide such kind of functionality?
Use parameters and re compile the report every time you want to filter the data.
With your meaning of the word "interactive", nope that is not possible. A report is only a report - a presentation medium that shows data in such manner that is required by the business rule. You can format data here. You can stylize it, add image and what not. A client side application is probably what you want.
Well, your exact requirement can be achieved if you publish the Jasper Reports on the Jasper Server. Once published, all your reports become interactive (For Charts, you must use the PRO charts and not the basic HTML charts but for tables, it works automatically.)
Once you publish it on the Jasper Server, the features that you get are:
Sort button with various types
Export the Report to many formats (PDF, XML, etc - more than 10).
Zoom IN and Zoom Out.
Bubble for your charts making them interactive, etc.
Yes, interactivity is possible in Jasper Reports, but the thing is that you need a Jasper Server Pro or Enterprise version for achieving this. If you are using a community version, it is impossible to create interactive reports. You can download the free trail pro version of jasper server for 60 days from this link https://www.jaspersoft.com/download
For much more details go through this link https://www.jaspersoft.com/community-commercial
Choose according to your requirement.

BIDS report design data tab - BIDS versions

In business intelligence development studio I create a new report against the TFS OLAP cube. Now from everything I have seen online this report should contain 3 tabs in report building functionality (Preview, Layout and Data).
Is there a specific version where creating a new report would have different tabs. I am currently seeing Design & Preview only. No layout and no Data tabs. All of the report walkthroughs I have seen start from the data tab, manipulating dimensions etc.
Has anyone ran into this before, how do you resolve?
A more specific question would be - What version of BIDS contains the full functionality I am desiring here.
The design has been changed in BIDS 2008.
Fix: in design, View >> Report Data (Ctrl+Alt+D)
Here you can create the dataset, datasource and parameters.

Is there any way to print all pages of a Cross Tab Crystal Report through the .NET Crystal API?

We are printing our Crystal Reports via the Crystal .NET API PrintToPrinter method. Recently it was discovered that when printing Cross Tab reports (reports that span multiple pages horizontally), only the first page is printed and the other "virtual" pages are not. We can preview the Reports fine in the .NET Crystal Report Viewer control and they show the wide report we expect, but when we print using the PrintToPrinter() method the output is definitely not what we just saw in that preview. Only the first page prints and you can see the beginning of what should be the second page cut off.
When printing through the Crystal Designer, the other pages are printed as expected. Also of note is that when we print via the "Print" button on the .NET Crystal Report Viewer control, it also prints all of the expected pages (they're jut not paged as well as when printing through the Crystal Designer).
Only the PrintToPrinter method (both overrides) seems to print only the first page of the Cross Tab Report.
I'm wondering if there's just setting I need to be setting programmatically to make this work or if I have just missed somewhere out there that this is a known issue with the Crystal .NET API?