Problem with databand on report with differing page margins
-
- Posts: 6271
- Joined: Tue Mar 20, 2018 5:34 am
Re: Problem with databand on report with differing page margins
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
-
- Posts: 6271
- Joined: Tue Mar 20, 2018 5:34 am
Re: Problem with databand on report with differing page margins
Hello,
In last versions, in NetCore, the compilation is working, and compilation is enabled in the report. During compilation, events from the base report are not transferred, so it does not work.
There are two options here.
- or turn on the interpretation mode so it's the same as before. in the designer for this particular report, or in the code after loading the report:
report.CalculationMode = StiCalculationMode.Interpretation;
- or write this code directly in the report event script.
We advise interpretation because it is faster and consumes less memory.
Thank you.
In last versions, in NetCore, the compilation is working, and compilation is enabled in the report. During compilation, events from the base report are not transferred, so it does not work.
There are two options here.
- or turn on the interpretation mode so it's the same as before. in the designer for this particular report, or in the code after loading the report:
report.CalculationMode = StiCalculationMode.Interpretation;
- or write this code directly in the report event script.
We advise interpretation because it is faster and consumes less memory.
Thank you.
Re: Problem with databand on report with differing page margins
Hello,
well thank you for your help for that problem. The described solution works well.
Now we can come back to the problem described in post:
Is there a fix for this issue?
Thank you for your help.
well thank you for your help for that problem. The described solution works well.
Now we can come back to the problem described in post:
With the reports and the attached viewercontroller you should now be able to reproduce my actual problem (different output when using dynamic page margins in pdf and viewer for some fields).n.froeh wrote: ↑Thu Mar 11, 2021 11:13 am Hello,
thank you for your help with the last issue we had.
We have one more problem with dynamic page margins and the rendering event.
We use the viewer controller with the dynamic page margin like in the previous example with a bigger left and right margin (see ViewerController.cs).
We have a report with a databand with different fields, some are docking to the right (field3), some are docking to the left (field1) and one big field is filling the remaining space in the middle of the databand (field2). (see Report PdfCutOffIssue.mrt with data PdfCutOffIssue.json)
The problem is that the exported pdf cuts off the text of our "field2", although it is displayed correctly in the viewer.
The text is displayed correctly in the viewer:
DesignerCorrect.PNG
The last line is missing in the exported pdf:
PDFIncorrect.PNG
I tested some things and found out, that the problem relies on the dynamic page margins and the dock styles, but could not find a solution.
Is there a fix for this issue?
Thank you for your help and i'm looking forward to an answer.
Is there a fix for this issue?
Thank you for your help.
- Attachments
-
- PdfCutOffIssue.mrt
- (5.28 KiB) Downloaded 182 times
-
- PdfCutOffIssue.json
- (453 Bytes) Downloaded 171 times
-
- ViewerController.cs
- (2.24 KiB) Downloaded 174 times
-
- Posts: 6271
- Joined: Tue Mar 20, 2018 5:34 am
Re: Problem with databand on report with differing page margins
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
Re: Problem with databand on report with differing page margins
Hello,
is there an update on this issue?
Thank you for your help.
is there an update on this issue?
Thank you for your help.
-
- Posts: 6271
- Joined: Tue Mar 20, 2018 5:34 am
Re: Problem with databand on report with differing page margins
Hello,
We couldn't reproduce the issue.
Please send us a sample project that reproduces the issue for analysis.
Thank you.
We couldn't reproduce the issue.
Please send us a sample project that reproduces the issue for analysis.
Thank you.
Re: Problem with databand on report with differing page margins
Hello,
i attached the sample project ( ). It's the basic show report in the viewer example with a different ViewerController (dynamic page margins) and report.
As described the text of field 2 is cut off if exported as pdf (it is displayed correctly in the viewer).
I'm looking forward for an answer. Thank you.
i attached the sample project ( ). It's the basic show report in the viewer example with a different ViewerController (dynamic page margins) and report.
As described the text of field 2 is cut off if exported as pdf (it is displayed correctly in the viewer).
I'm looking forward for an answer. Thank you.
- Attachments
-
- PdfCutOffIssue.mrt
- (5.28 KiB) Downloaded 149 times
-
- PdfCutOffIssue.json
- (457 Bytes) Downloaded 143 times
-
- ViewerController.cs
- (2.68 KiB) Downloaded 157 times
-
- Posts: 6271
- Joined: Tue Mar 20, 2018 5:34 am
Re: Problem with databand on report with differing page margins
Hello,
We are working on the problem. We will let you know when the solution is available.
Thank you.
#4074
We are working on the problem. We will let you know when the solution is available.
Thank you.
#4074
Re: Problem with databand on report with differing page margins
Hello,
is there an update on this?
Greetings
is there an update on this?
Greetings
-
- Posts: 6271
- Joined: Tue Mar 20, 2018 5:34 am
Re: Problem with databand on report with differing page margins
Hello,
We are working on the problem. We will let you know when the solution is available.
Thank you.
We are working on the problem. We will let you know when the solution is available.
Thank you.