styleManager breaks report viewer

Stimulsoft Reports.Flex discussion
Locked
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

styleManager breaks report viewer

Post by hugo »

Hello,

I bought your Stimulsoft Reports.Fx for Flex and the viewer doesn't work in my application.

I allow the user to change the theme of my application: FlexGlobals.topLevelApplication.styleManager.loadStyleDeclarations2(theme.url)). But unfortunately this also changes the theme of the report viewer but the worse is that also the viewer doesn't show the report (blank page).

Please help !
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Re: styleManager breaks report viewer

Post by hugo »

This code block solve the theme problem:
var report:StiReport = new StiReport();
report.addEventListener(StiViewerEvent.EXIT, onExit);
...
unload theme
report.show();

However I want to capture EXIT event to load the theme again but this event is never fired !
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Re: styleManager breaks report viewer

Post by hugo »

Problem solve.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: styleManager breaks report viewer

Post by HighAley »

Hello.

We are glad to work with such costumers.
Let us know if you need any additional help.

Thank you.
Locked