Creating reports and dashboards | Stimulsoft community forum
Reporting tool and data analytics tools for creating reports and dashboards in ASP.NET, ASP.NET MVC, .NET Core, Blazor, Angular, PHP, Python, WPF, JavaScript, and Java applications.
before onInitailizeProviderResult showAboutButton: true
after onInitailizeProviderResult showAboutButton: false
after creationComplete showAboutButton:false
after :loadConfiguration showAboutButton:false
after :loadReport showAboutButton:true
after :loadData showAboutButton:true
after :loadData showAboutButton:true
after :loadData showAboutButton:true
after :loadData showAboutButton:true
after :loadData showAboutButton:true
after :loadData showAboutButton:true
This occurs because you are using a Java provider. In this case, the configuration is loaded from the Java server side. You can use 'stimulsoft.properties' file on the server side for configure designer or viewer, or change StiOptions class after loading configuration.
I supposed I overrode the viewer options after Java provider initialization. I registered it as a StiApiProviderEvent.INITIALIZE_PROVIDER_RESULT function. And in fact I saw correct result until actual report loaded.
thanks a lot for this information. I called my method after StiApiProviderEvent.LOAD_CONFIGURATION_RESULT and got there. But I noticed that after loading of report my overriden parameters gone. So I added my call after StiApiProviderEvent.LOAD_REPORT_RESULT. It started working:
I can live like that, but do not think report shall contain designer/viewer data. I experimented a little. I had default theme (on the java server) silver and overrode it with black on the flex client. When I opened the viewer with report I saw flickering of the viewer background black (after loading of configuration) -> silver (after loading of report) -> silver again (final call of the stiOverrideDesignerOptions after report loading)
As far as I understood even if I remove "stimulsoft.properties" from web application it will substituted by "defconfigure.properties" from core library. See my post: http://forum.stimulsoft.com/viewtopic.p ... 669#p61531
Please correct me if I am mistaken.