Page 1 of 1
next button not working after 2 pages
Posted: Thu Jul 07, 2011 8:59 pm
by myintw
Hi,
I have a report with more than one page and when i click on Next button from Toolbar after 2 page the Next button is not working for that report. How can I fix the proble? I also set RenderMode="AjaxWithCache". Can I know the solution as soon as possible please. I need to fix that error to my clients.
Regards,
Win
next button not working after 2 pages
Posted: Fri Jul 08, 2011 8:14 am
by Vladimir
Hello,
Please tell us which version of the product you are using. Also please show the code where you load a report for the WebViewer.
Thank you.
next button not working after 2 pages
Posted: Sun Jul 10, 2011 9:11 pm
by myintw
Hi Vladimir,
Thanks for your reply. Currently, I am using Stimulsoft Reports.Web 2011.1.1000.0 .
protected void PrepareReportUsingDataSet(StiReport report,DataSet ds)
{
//if the dataset contains nothing prepare the default dataset
if (ds.Tables.Count == 0)
ds = CustomReportDAL.GetAllData();
report.RegData(ds);
StiSqlDatabase database = new StiSqlDatabase(ds.DataSetName, ConfigurationManager.ConnectionStrings["Explore1ConnectionString"].ToString());
report.Dictionary.Databases.Clear();
report.Dictionary.Databases.Add(database);
report.Dictionary.Synchronize();
swvCustomReport.Report = report;
}
Thanks a lot for help in advance.
Regards,
Win
next button not working after 2 pages
Posted: Tue Jul 12, 2011 1:14 am
by Alex K.
Hello,
Please check the last prerelease build and let us know about the result.
Thank you.
next button not working after 2 pages
Posted: Tue Jul 12, 2011 1:18 am
by myintw
Hi,
I got the solution for my problem, I set RenderMode = "Standard" instead of "AjaxWithCache" and then it works. I don't know exactly the way how they work in code behind. But i can solve my problem for this moment. If someone knows it please share the knowledge with me. Thanks a lot for help in advance.
Regards,
Win
next button not working after 2 pages
Posted: Tue Jul 12, 2011 8:14 am
by Vladimir
Hello,
We could not reproduce the error. Please see our test application in the attached archive.
Thank you.