on 12-25-2012 6:56 PM
Hello,
I am working on a .Net 4.0 web application which uses Crystal Reports 13 (CRVS 2010). Actually this has been migrated from .Net 1.1 which was using Crystal Reports 11. Now one of my requirement is to generate few reports in which paging is disabled (of course when exported to PDF it does come out in multiple pages) such that the entire report content is shown in a single view on the web page (with a vertical scroll bar). Now to achieve this I set a few properties as shown below -
However when my report is displayed in the page, I observe blank lines in between the content (shown in the attached jpeg). A deeper look suggests that these blanks appear right at the point where I would have had the page break if I had enabled paging. This makes my report look odd on the web page. With the old application which used previous version of CR this was not the case. Is there a way wherein I can ensure that the report when displayed on the web page concatenates the content properly without any gaps considering that I disabled paging?
Any help would be highly appreciated.
Thanks,
GowriShanker.
P. S: Also attached is the report file with extension changed to txt.
Hi,
Did any one found any solution for the issue?
Or using any service pack of crystal report resolved the issue?
I am facing the same problem.
I tested it using Crystal Reports for visual studio 2010 version 13.0.6.1027 and version 13.0.7.1136.
please let me know if its still an existing issue or have been resolved by any of the service pack?
if it has been resolved please let me know how and using which service pack?
or any workaround that can be applied to fix the issue.
Any help or guidance will be highly appreciated.
Thanks,
Faiz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
According to this KBA:
1840359 - Blank lines when the SeparatePages property of the Web viewer is set to False
The issue is resolved on SP 6. So, if that did not solve your problem, I suspect we're looking at a different thing here(?). Please create a new Discussion, copy and past the description of the issue there as well as a link to this Discussion.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
We tried using SP 6 and also SP 7,but that didnt fix our issue.We have already created a new discussion and PFB the link,
http://scn.sap.com/thread/3430888
We are using the seperatepages property of the crystal report viewer to show all the records in a single page.The seperate pages property is set to false.
We also tried with setting the Keep Together and Suprpess Blank Section property to true in .rpt file but still we are getting the same issue.Please let us know if we are missing some thing or this is an existing issue.
Hi Colin,
We tried using both SP6 and SP7,but it didnt work,
We are using seperatePages property of the crystal report viewer to show all the records in a single page.
We also tried with setting the Keep Together and Suppress Blank Section property to true in .rpt file but still we are getting the same issue.
It would be vey helpful for us if you let us know what exactly you did to fix this issue.
Gowri,
DId you ever get this figured out?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I was experimenting with Crystal Report for VS 2008 (basic with assembly version 10.x) and I could not reproduce this issue there. Same is the case with CR 2008 (assembly version 12.x). When SeparatePages property is set to False, the report data gets concatenated and displayed without any gaps unlike CRVS 2010.
Is this a bug in CRVS 2010?
Thanks,
GowriShanker.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I took a quick look. The report has only one page(?). So, I also downloaded SampleReport that you uploaded on Jan. 2nd, same thing.
So, I wonder if we are talking about the same thing? My report had 8 pages, when I run it, with the option set, it essentially becomes one long report that I can vertically scroll through and there are no breaks between pages.
- Ludek
Hi Ludek,
Actually my report is built out of a data set which I fill at runtime. So when I preview and save a report with data from the designer, I only get a single page. This is why in one my replies above I said saved report may not help reproduce the issue.
Anyway when I run my web application I see gap or blanks in data as shown in the attached screenshots. I have 9 pages in my report. Not sure if I am missing something considering that you say it looks fine for you.
Thanks,
GowriShanker
Unfortunately a screenshot does not help me in troubleshooting the issue. If I had the time, I'd ask you for a sample XML so I could then create an ADO .NET dataset and pass that to the report. Unfortunately, phone cases do take precedence and I have to give them priority. E.g.; I suggest that at this point you create a hone case and get help there. If this is found to be a bug, your case will be refunded. Phone cases can be obtained here:
http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100
- Ludek
Only suggestion I have is to make sure you are on SP 3, not SP 4:
http://scn.sap.com/docs/DOC-7824 |
I'm not in the office and will not be able to test this for you, but perhaps somebody else will be able to do that.
- Ludek
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tried to test it but reort prompts for DB info. Looks like it is designed out of a dataset.
Could you please provide Saved data report. Just preview report in designer, check 'Save data with report' option and save the report.
- Bhushan
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Getting started and moving ahead with Crystal Reports .NET applications.
Hi Bhushan,
Attached the report with saved data. But I am not sure if it would help reproduce the issue as the sample data has too few rows.
Just in case, you can try dumping in the below sample code into Page_Load method/event handler of the aspx page of your ASP.Net web application project (assuming that the crystal reports viewer control is named "CrystalReportViewer1" and that the highlighted code is replaced with the path of the rpt file in the project) -
System.Data.DataSet ds = new System.Data.DataSet();
ds.Tables.Add("DataTable1");
// Add columns
for (int i = 1; i <= 5; i++)
{
ds.Tables["DataTable1"].Columns.Add("Col" + i.ToString());
}
// Add rows
for (int i = 0; i < 100; i++)
{
ds.Tables["DataTable1"].Rows.Add("Data" + i.ToString(), "Data2", "Data3", "Data4", "Data5");
}
CrystalDecisions.CrystalReports.Engine.ReportDocument rptDoc =
new CrystalDecisions.CrystalReports.Engine.ReportDocument();
rptDoc.Load(@"<<rpt file path>>");
rptDoc.SetDataSource(ds);
CrystalReportViewer1.ReportSource = rptDoc;
CrystalReportViewer1.DataBind();
Also note that the property "SeparatePages" of the Crystal Reports Viewer control have been set to "False" to ensure paging is disabled.
Thanks,
GowriShanker.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.