next button not working after 2 pages

Сonversation on different topics
Post Reply
myintw
Posts: 29
Joined: Mon May 09, 2011 8:02 pm
Location: Perth

next button not working after 2 pages

Post 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
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

next button not working after 2 pages

Post 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.
myintw
Posts: 29
Joined: Mon May 09, 2011 8:02 pm
Location: Perth

next button not working after 2 pages

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

next button not working after 2 pages

Post by Alex K. »

Hello,

Please check the last prerelease build and let us know about the result.

Thank you.
myintw
Posts: 29
Joined: Mon May 09, 2011 8:02 pm
Location: Perth

next button not working after 2 pages

Post 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
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

next button not working after 2 pages

Post by Vladimir »

Hello,

We could not reproduce the error. Please see our test application in the attached archive.

Thank you.

Attachments
1140.Sample.zip
(295.93 KiB) Downloaded 271 times
Post Reply