Page 1 of 2

WebViewerFx problem

Posted: Tue Jun 21, 2016 11:29 pm
by ecpmiranda
I am testing the 3 viewers. I create a simple report and uses the 3 viewers without problems.
But today WebViewerFx stops working and is not displaying any data and displays only a blank page.
The other viewers are working fine. I tried to repair installation but not solved.
The report file is the same, the data and data source are also the same.
The code is as follows. When I want to test a viewer I simply comment or not the viewer I want to test.

Code: Select all

                StiReport report = new StiReport();
                report.Load(this.Server.MapPath("~/Reports/Test.mrt"));

                //Get data
                var reports = new Reports();
                Type thisType = reports.GetType();
                object instance = Activator.CreateInstance(thisType);
                MethodInfo theMethod = thisType.GetMethod(itemRelatorio.NomeMetodoRelatorio);
                var parameters = new object[] { reportArgs };
                IList dataSource = (IList)theMethod.Invoke(instance, parameters);

                //Register data
                report.RegBusinessObject("DataSet1", dataSource);

                //View report
                StiWebViewer1.Visible = true;
                StiWebViewer1.Report = report;

                //StiMobileViewer1.Visible = true;
                //StiMobileViewer1.Report = report;

                //StiWebViewerFx1.Visible = true;
                //StiWebViewerFx1.Report = report;

Code: Select all

     <cc1:StiWebViewer ID="StiWebViewer1" runat="server" Visible="false"/>
     <cc2:StiMobileViewer ID="StiMobileViewer1" runat="server" Visible="false"/>
     <cc3:StiWebViewerFx ID="StiWebViewerFx1" runat="server" Visible="false"/>

Re: WebViewerFx problem

Posted: Wed Jun 22, 2016 12:40 am
by ecpmiranda
I found the problem: if any text box have some sort interaction set, the viewer is not rendering the report.
I cleared all text boxes I set with sort interaction and report rendered ok.
But interactive sorting works on all viewers?
I tried to set this option on my report but it is not working on any viewer!
Is there anything else to do so this option works ok?

Re: WebViewerFx problem

Posted: Wed Jun 22, 2016 10:03 am
by Alex K.
Hello,

Can you please send us a sample report with test data which reproduces the issue for analysis.

Thank you.

Re: WebViewerFx problem

Posted: Wed Jun 22, 2016 9:12 pm
by ecpmiranda
Sample report and data follow attached.
I set "Matricula" and "Nome" fields for interactive sorting.
It´s not working in Mobile and Web viewers but report is rendering ok.
Report is not rendering in WebFx viewer wih interactive sorting set.
If I remove interactive sorting, all viewers renders the report ok

Re: WebViewerFx problem

Posted: Thu Jun 23, 2016 11:16 am
by Alex K.
Hello,

We couldn't reproduce this bug.
Please try to check the last prerelease build (2016.1.17 from 2016.06.17). If the issue still present, please send us a simple project for analysis.

Thank you.

Re: WebViewerFx problem

Posted: Thu Jun 23, 2016 8:45 pm
by ecpmiranda
An additional information: I am using Business Objects as datasource and the sample I sent to you is using XML.
Do you think this could be a possible cause of the problem?
My report is not rendering in any browser when sorting is enabled with FX viewer.
It only renders with Mobile and Web viewers but sorting is not working.

How can I get this release? I am still evaluating Trial version.

Re: WebViewerFx problem

Posted: Fri Jun 24, 2016 1:04 pm
by Alex K.
Hello,

We couldn't reproduce this bug.
Please send us a simple project for analysis.

Thank you.

Re: WebViewerFx problem

Posted: Fri Jun 24, 2016 1:40 pm
by ecpmiranda
How can I get this new release? I am still evaluating Trial version.
Could you please send me the Default.aspx you used to run my sample report above? So I can see the viewer settings and compare with mine.

Re: WebViewerFx problem

Posted: Sat Jun 25, 2016 4:09 am
by Andrew
Hello,

You can get the release version at http://admin.stimulsoft.com/GetFile.asp ... _Trial.zip

Please let us know about the result.
Thank you.

Re: WebViewerFx problem

Posted: Sat Jun 25, 2016 1:58 pm
by ecpmiranda
What do I have to do to install this release?
I downloaded the file at the link you sent me above, unpacked the files and copied them to bin folder.
Is this correct?