Viewer paging issues and more...
Viewer paging issues and more...
I've just started using Stimulsoft for reporting as I have to build a web portal to some of our existing Stimulsoft reports.
I started an ASP.NET 4 Web Project with a single page, dumped an StiWebViewer at it and pointed it to and MRT file. However we're getting some odd behaviour.
Firstly, sometimes the report refuses to run, it will throw an "Invalid cast" error or "The state information is invalid for this page and might be corrupted.". When it does run, if I try and switch between pages the AJAX calls go through BUT nothing happens, we get about as far as say page 2/8 then it just sticks on that page.
The report runs fine in the Report Designer as far as I can tell?
I started an ASP.NET 4 Web Project with a single page, dumped an StiWebViewer at it and pointed it to and MRT file. However we're getting some odd behaviour.
Firstly, sometimes the report refuses to run, it will throw an "Invalid cast" error or "The state information is invalid for this page and might be corrupted.". When it does run, if I try and switch between pages the AJAX calls go through BUT nothing happens, we get about as far as say page 2/8 then it just sticks on that page.
The report runs fine in the Report Designer as far as I can tell?
Re: Viewer paging issues and more...
Hello.
Please, try to set the RenderMode="AjaxWithCache" of the StiWebViewer.
Thank you.
Please, try to set the RenderMode="AjaxWithCache" of the StiWebViewer.
Thank you.
Re: Viewer paging issues and more...
Hi,
It's already set to that.
It's already set to that.
Re: Viewer paging issues and more...
Hello,
Please specify:
1. Does the specified error depend on the browser?
2. Which version of IIS server are you using?
3. Is the caching and data compression enabled on the server side? If so, please try to disable it for testing.
Thank you.
Please specify:
1. Does the specified error depend on the browser?
2. Which version of IIS server are you using?
3. Is the caching and data compression enabled on the server side? If so, please try to disable it for testing.
Thank you.
Re: Viewer paging issues and more...
1. Any browser, I used Firefox, Chrome and IE.
2. IIS7.5 on Windows 7 & Server 2008R2.
3. Tested with both caching and compression on and off, makes no difference.
2. IIS7.5 on Windows 7 & Server 2008R2.
3. Tested with both caching and compression on and off, makes no difference.
Re: Viewer paging issues and more...
Hello.
We couldn't reproduce your issue. Please, send us a sample project to reproduce it.
Thank you.
We couldn't reproduce your issue. Please, send us a sample project to reproduce it.
Thank you.
Re: Viewer paging issues and more...
Hi,
I was calling webViewer.ResetCurrentPage() in the Page_Load event of the page which seems to be the cause of this problem. Removing it and the page pages fine.
I was calling webViewer.ResetCurrentPage() in the Page_Load event of the page which seems to be the cause of this problem. Removing it and the page pages fine.
Re: Viewer paging issues and more...
Hello.
Let us know if you will have any problems else.
Thank you.
You don't need this method.lloydk wrote:I was calling webViewer.ResetCurrentPage() in the Page_Load event of the page which seems to be the cause of this problem. Removing it and the page pages fine.
Let us know if you will have any problems else.
Thank you.