Refresh problem after rerender

Stimulsoft Reports.WPF discussion
Post Reply
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

Refresh problem after rerender

Post by LukasT »

Hello,
in version of Stimulsoft Reports.Wpf 2013.2.1617 is some bug, which causes that if I have in WpfViewerControl some report and I switch orientation of page and render (RenderWithWpf) it again, then Viewer refresh only content of page, but page is still with old orientation. Viewer will refresh page orientation only after I change for example zoom.
I am sorry, but I am not able to do some example now...
Previous version, which I had was 2013.1.1512 - there it was OK....
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Refresh problem after rerender

Post by HighAley »

Hello.

How do you refresh report in viewer?
Could you send us sample project which reproduces the issue?

Thank you.
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

Re: Refresh problem after rerender

Post by LukasT »

Hello,
see attached example solution.... please, make assembly references to Stimulsoft dlls of version 2013.2.1617.0, run it and after start push "Landscape" button on top of window.....
Attachments
StimulsoftRefreshIssue.zip
(5.87 MiB) Downloaded 212 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Refresh problem after rerender

Post by HighAley »

Hello.

Please, add next method after rendering of the second report

Code: Select all

wpfViewerControl.UpdatePagesPlacement();
Thank you.
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

Re: Refresh problem after rerender

Post by LukasT »

Ok, this is working..... thank you ;-)
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Refresh problem after rerender

Post by HighAley »

Hello.

We are always glad to help you.
Let us know if you need any additional help.

Thank you.
Post Reply