Data Sorting Issue

Stimulsoft Reports.WEB discussion
Post Reply
n696395
Posts: 3
Joined: Thu Aug 08, 2013 3:42 am

Data Sorting Issue

Post by n696395 »

Hello,

I use StiWebViewer in my web project to show the report,
if use RenderMode = StiRenderMode.AjaxWithCache, this can sort data but can`t change the variable of the report
if use RenderMode = StiRenderMode.Ajax, it can`t sort but change variable can work

what wrong ?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Data Sorting Issue

Post by Alex K. »

Hello,

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

Thank you.
n696395
Posts: 3
Joined: Thu Aug 08, 2013 3:42 am

Re: Data Sorting Issue

Post by n696395 »

Hello,
thanks for reply, seems like StiWebViewer.Report == Null in Ajax Mode when postback.
(I use ASP.net 4.0)
Attachments
Northwind.zip
DB
(552.66 KiB) Downloaded 176 times
201308131107239848.mrt
Report
(7.95 KiB) Downloaded 128 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Data Sorting Issue

Post by Alex K. »

Hello,

We couldn't reproduce this bug.
Please check the last prerelease build and let us know about the result.

Thank you.
n696395
Posts: 3
Joined: Thu Aug 08, 2013 3:42 am

Re: Data Sorting Issue

Post by n696395 »

Hello,
First I use RenderMode = Ajax
http://i.imgur.com/aoUAWFO.jpg

and I sort by ProductName, it didn`t show result
http://i.imgur.com/2vyt4tu.jpg

if I use RenderMode = AjaxWithCache , sorting can work.
http://i.imgur.com/zE39WmQ.jpg

Code:

Code: Select all

protected void Page_Load(object sender, EventArgs e)
        {
                string ReportPath = Server.MapPath("~") + "\\Reports";
                String RPTName = ReportPath + "\\Report.mrt";
                StiReport RPT = new StiReport();
                RPT.Load(RPTName);
                RPT.Dictionary.Synchronize();
                RPT.Render();
                StiWebViewer_test.Visible = true;
                StiWebViewer_test.Report = RPT;
        }
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Data Sorting Issue

Post by Vladimir »

Hello,

We reproduce the error with using sorting and variables. We've added a fix in the to-do list, we will notify you as soon as the problem will be solved.

Thank you.
Post Reply