Problems with RichText component
-
- Posts: 32
- Joined: Tue Jul 03, 2012 2:16 pm
Problems with RichText component
Hi, recently we started having problems with reports using the RichText component, in Stimulsoft Reports.Web version 2017.1, where reports with a lot of text inside this component started to consume a high quantity of memory. The first thing we tried was to update to a newer version, and at first sight it seems it resolved the problem. But with a bit more tests, we have encountered some other problems.
The report is a contract, with almost all data being pure text, where the RichText component carries arround 20 pages of text. But sometimes, with no apparent reason, the number of pages increased slightly (sometimes with more than 3000 pages), with only blank pages.
In attachment, the MRT report, and 2 PDFs printed by the same report, demonstrating the problem.
Thank you.
The report is a contract, with almost all data being pure text, where the RichText component carries arround 20 pages of text. But sometimes, with no apparent reason, the number of pages increased slightly (sometimes with more than 3000 pages), with only blank pages.
In attachment, the MRT report, and 2 PDFs printed by the same report, demonstrating the problem.
Thank you.
- Attachments
-
- WrongReport.pdf
- (1.66 MiB) Downloaded 142 times
-
- report.mrt
- (246.01 KiB) Downloaded 147 times
-
- CorrectReport.pdf
- (297.23 KiB) Downloaded 141 times
-
- Posts: 6245
- Joined: Tue Mar 20, 2018 5:34 am
Re: Problems with RichText component
Hello,
We couldn't reproduce the issue.
Please send us a sample project which reproduces the issue for analysis.
Thank you.
We couldn't reproduce the issue.
Please send us a sample project which reproduces the issue for analysis.
Thank you.
-
- Posts: 6245
- Joined: Tue Mar 20, 2018 5:34 am
Re: Problems with RichText component
Hello,
Also, something similar was in one case, when tried to render reports in parallel threads. The problem was solved only by abandoning parallel threads (at least for reports with RichText).
Thank you.
Also, something similar was in one case, when tried to render reports in parallel threads. The problem was solved only by abandoning parallel threads (at least for reports with RichText).
Thank you.
-
- Posts: 32
- Joined: Tue Jul 03, 2012 2:16 pm
Re: Problems with RichText component
Hi, thanks for the replay.
Actually, this is exactly our cenario. There are always 2 reports being rendered in parallel. However, even if we abandon the parallelism, there's nothing that prevents two different users from rendering these reports at the same time. In this case, wouldn't the problem occur anyway?
Actually, this is exactly our cenario. There are always 2 reports being rendered in parallel. However, even if we abandon the parallelism, there's nothing that prevents two different users from rendering these reports at the same time. In this case, wouldn't the problem occur anyway?
-
- Posts: 6245
- Joined: Tue Mar 20, 2018 5:34 am
Re: Problems with RichText component
Hello,
In the Net Framework, there are no normal methods for working with RichText, and those methods that have to be used do not work correctly in parallel threads
As a way, try to render in Wpf, there are other components and methods.
But! if then it will be necessary export to pdf - the export goes only through WinForms methods, so most likely it will not look quite correct in pdf in size components.
Thank you.
In the Net Framework, there are no normal methods for working with RichText, and those methods that have to be used do not work correctly in parallel threads
As a way, try to render in Wpf, there are other components and methods.
But! if then it will be necessary export to pdf - the export goes only through WinForms methods, so most likely it will not look quite correct in pdf in size components.
Thank you.
Re: Problems with RichText component
What exactly do you gain by rendering in Wpf with regards to this problem, Lech?
Get these weight loss shakes for the win and get healthier.
-
- Posts: 6245
- Joined: Tue Mar 20, 2018 5:34 am
Re: Problems with RichText component
Hello,
Sorry, maybe we did not exactly understand your question. Could you explain your question in more details?
Thank you.
Sorry, maybe we did not exactly understand your question. Could you explain your question in more details?
Thank you.