Page 1 of 1
Data Sorting Issue
Posted: Thu Aug 08, 2013 9:49 am
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 ?
Re: Data Sorting Issue
Posted: Thu Aug 08, 2013 12:24 pm
by Alex K.
Hello,
Can you please send us a sample report with test data which reproduce the issue for analysis.
Thank you.
Re: Data Sorting Issue
Posted: Tue Aug 13, 2013 6:22 am
by n696395
Hello,
thanks for reply, seems like StiWebViewer.Report == Null in Ajax Mode when postback.
(I use ASP.net 4.0)
Re: Data Sorting Issue
Posted: Tue Aug 13, 2013 12:02 pm
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.
Re: Data Sorting Issue
Posted: Thu Aug 15, 2013 6:16 am
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;
}
Re: Data Sorting Issue
Posted: Thu Aug 15, 2013 8:29 am
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.