WebViewerFx problem

Stimulsoft Reports.WEB discussion
ecpmiranda
Posts: 52
Joined: Sun Jun 05, 2016 9:35 pm

WebViewerFx problem

Post 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"/>
ecpmiranda
Posts: 52
Joined: Sun Jun 05, 2016 9:35 pm

Re: WebViewerFx problem

Post 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?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: WebViewerFx problem

Post by Alex K. »

Hello,

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

Thank you.
ecpmiranda
Posts: 52
Joined: Sun Jun 05, 2016 9:35 pm

Re: WebViewerFx problem

Post 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
Attachments
rptAlunosTurmaTest.mrt
(32.81 KiB) Downloaded 223 times
rptAlunosTurma.xml
(26.71 KiB) Downloaded 245 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: WebViewerFx problem

Post 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.
Attachments
Capture1.PNG
Capture1.PNG (50.47 KiB) Viewed 4019 times
Capture2.PNG
Capture2.PNG (46.31 KiB) Viewed 4019 times
ecpmiranda
Posts: 52
Joined: Sun Jun 05, 2016 9:35 pm

Re: WebViewerFx problem

Post 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.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: WebViewerFx problem

Post by Alex K. »

Hello,

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

Thank you.
ecpmiranda
Posts: 52
Joined: Sun Jun 05, 2016 9:35 pm

Re: WebViewerFx problem

Post 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.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: WebViewerFx problem

Post 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.
ecpmiranda
Posts: 52
Joined: Sun Jun 05, 2016 9:35 pm

Re: WebViewerFx problem

Post 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?
Post Reply