RichText resize/growing problem
Posted: Wed Jan 04, 2012 10:54 am
Hi,
I'am using the Stimulsoft-Reports(.NET/WPF) components to create and print reports (Version 2011.3). Unfortunately i've encountered some errors with richttext handling, especcially with the resize/growing behaviour. To use growing richttext, i'm using the work-around and placed it into a Databand (Count=1). But this seems to work not always and is depending on how i start the designer and how i'm using the preview control.
I've attached a test-project containing a report to reproduce the incorrect behaviour.
If you start the project, there will be three buttons on the left side. The first starts the designer and the preview looks fine.
The second button starts the designer a slightly different way and causes the preview to render only strange rtf-content.
The third button fills the preview control on the right side with the report. This will render the real text, but won't resize correctly. (In fact the richtext is claiming the size as when it displays the strange rtf-content, wich you can see in the second button test.)
All three tests use the same Report (Report.mrt) with a dummy business object "Test" with one string property which
contains the richttext.
It would be nice if you could check the test-project and tell me whether i'm doing something wrong, or if it is a bug.
thank you in advance, Johannes
I'am using the Stimulsoft-Reports(.NET/WPF) components to create and print reports (Version 2011.3). Unfortunately i've encountered some errors with richttext handling, especcially with the resize/growing behaviour. To use growing richttext, i'm using the work-around and placed it into a Databand (Count=1). But this seems to work not always and is depending on how i start the designer and how i'm using the preview control.
I've attached a test-project containing a report to reproduce the incorrect behaviour.
If you start the project, there will be three buttons on the left side. The first starts the designer and the preview looks fine.
The second button starts the designer a slightly different way and causes the preview to render only strange rtf-content.
The third button fills the preview control on the right side with the report. This will render the real text, but won't resize correctly. (In fact the richtext is claiming the size as when it displays the strange rtf-content, wich you can see in the second button test.)
All three tests use the same Report (Report.mrt) with a dummy business object "Test" with one string property which
contains the richttext.
It would be nice if you could check the test-project and tell me whether i'm doing something wrong, or if it is a bug.
thank you in advance, Johannes