Page 1 of 1

styleManager breaks report viewer

Posted: Fri Mar 08, 2013 10:58 am
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 !

Re: styleManager breaks report viewer

Posted: Fri Mar 08, 2013 8:32 pm
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 !

Re: styleManager breaks report viewer

Posted: Sat Mar 09, 2013 10:14 pm
by hugo
Problem solve.

Re: styleManager breaks report viewer

Posted: Mon Mar 11, 2013 11:38 am
by HighAley
Hello.

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

Thank you.