Issues related to using a Databand on two pages
Issues related to using a Databand on two pages
Hello,
I'm working on a report where i'm using a databand on two pages, but i have a few issues related to that :
- First issue, in the databand i've many columns anchored to the left and some of these columns sometimes are hidden based on conditions, the problem's that in certain times, one page is quite enough to show the columns that should appear which makes the second page unnecessary, i can't figure out how to hide that page in my exported PDF file. (see attachment 1)
- Second issue, when i have a column on two pages, the moment i export my PDF file i get only the first part of the column.(see attachment 2)
i'll be waiting your answer, would you accept my sincere thanks for your time and consideration.
I'm working on a report where i'm using a databand on two pages, but i have a few issues related to that :
- First issue, in the databand i've many columns anchored to the left and some of these columns sometimes are hidden based on conditions, the problem's that in certain times, one page is quite enough to show the columns that should appear which makes the second page unnecessary, i can't figure out how to hide that page in my exported PDF file. (see attachment 1)
- Second issue, when i have a column on two pages, the moment i export my PDF file i get only the first part of the column.(see attachment 2)
i'll be waiting your answer, would you accept my sincere thanks for your time and consideration.
- Attachments
-
- Ecritures.mrt
- (159.43 KiB) Downloaded 115 times
-
- Attachment 2.pdf
- (116.34 KiB) Downloaded 152 times
-
- Attachment 1.pdf
- (119.62 KiB) Downloaded 337 times
Re: Issues related to using a Databand on two pages
Hello,
Please try to use the following option:
Thank you.
Please try to use the following option:
Code: Select all
StiOptions.Export.Pdf.DivideSegmentPages = false;
Re: Issues related to using a Databand on two pages
Hello,
First of all, thanks for the reply, i've tried the option (StiOptions.Export.Pdf.DivideSegmentPages = false;) but that didn't solve the problem, as concern the first problem, i've fixed it, but i still can't resolve the second issue, please have a look on the attachments.
the first attachment shows my report in preview mode of the designer, while the second one shows the PDF file exported.
First of all, thanks for the reply, i've tried the option (StiOptions.Export.Pdf.DivideSegmentPages = false;) but that didn't solve the problem, as concern the first problem, i've fixed it, but i still can't resolve the second issue, please have a look on the attachments.
the first attachment shows my report in preview mode of the designer, while the second one shows the PDF file exported.
- Attachments
-
- Preview Mode.PNG (30.3 KiB) Viewed 1777 times
-
- PDF.PNG (14.92 KiB) Viewed 1777 times
Re: Issues related to using a Databand on two pages
Hello,
We couldn't reproduce this bug.
Please check the last prerelease build.
Thank you.
We couldn't reproduce this bug.
Please check the last prerelease build.
Thank you.
Re: Issues related to using a Databand on two pages
Hello,
Thanks for the replay, i've tried the latest version of Stimultsoft Reports .Net (2013.3.1800) but the bug persists, i've doubts about the way i'm exporting the file , please can you have a look on my code and tell me if there's something wrong :
Thanks for the replay, i've tried the latest version of Stimultsoft Reports .Net (2013.3.1800) but the bug persists, i've doubts about the way i'm exporting the file , please can you have a look on my code and tell me if there's something wrong :
Code: Select all
StiReport report = new StiReport();
report.Load(this.reportFile);
report.ReportName = reportCode;
List<string> assemblies = new List<string>(report.ReferencedAssemblies);
System.Reflection.Assembly[] currentAssemblies = AppDomain.CurrentDomain.GetAssemblies();
foreach (System.Reflection.Assembly assembly in currentAssemblies)
{
if (assembly.GetName().Name.StartsWith("EOL."))
{
assemblies.Add(assembly.GetName().Name + ".Dll");
}
}
report.ReferencedAssemblies = assemblies.Distinct<string>().ToArray();
if (this.data != null)
{
if (this.data is ArrayList)
{
foreach (object datum in (ArrayList)this.data)
{
report.RegData(datum.GetType().Name, datum);
}
}
else
{
report.RegData(data.GetType().Name, this.data);
}
}
report.Dictionary.Synchronize();
DialogResult dialogResult = this.report.Design();
this.report.Render(false);
this.report.ExportDocument(StiExportFormat.Pdf, destinationPath);
Re: Issues related to using a Databand on two pages
Hello,
Can you please send us a test data for your report.
Thank you.
Can you please send us a test data for your report.
Thank you.
Re: Issues related to using a Databand on two pages
Hello,
Thanks for the reply, i've sent you the test data file and the mrt file.
Thanks for the reply, i've sent you the test data file and the mrt file.
- Attachments
-
- DATA.mdc
- (1008.71 KiB) Downloaded 121 times
-
- REPORT.mrt
- (146.01 KiB) Downloaded 241 times
Re: Issues related to using a Databand on two pages
Hello,
You send us a rendered report. Can you please send us a test data for your report template.
Thank you.
You send us a rendered report. Can you please send us a test data for your report template.
Thank you.
Re: Issues related to using a Databand on two pages
Hello,
Thanks for the reply. As requested, please find enclosed both the data and the report files for test.
Best regards.
Thanks for the reply. As requested, please find enclosed both the data and the report files for test.
Best regards.
- Attachments
-
- DATA.xml
- (11.9 KiB) Downloaded 150 times
-
- SCHEMA.xsd
- (7.08 KiB) Downloaded 139 times
-
- REPORT.mrt
- (54.18 KiB) Downloaded 113 times
Re: Issues related to using a Databand on two pages
Hello,
We couldn't reproduce this bug.
Please check the last prerelease build.
Thank you.
We couldn't reproduce this bug.
Please check the last prerelease build.
Thank you.
- Attachments
-
- Capture.PNG (46.12 KiB) Viewed 1746 times