Last post Sep 07, 2007 01:26 PM by bullpit
Feb 21, 2007 08:20 AM|bullpit|LINK
I am using Reportviewer in Visual Studio Express 2005 (though that should not make a difference) to generate local reports. I do not want those scrollbars along the reportviewer control. For that, I did:
AsyncRendering = false;
SizeToReportContent = true;
When the page loads, the report shows up fine (with no scrollbars and resized to fit content) but when I try to navigate thru pages, it gives me this error:
"Page navigation is out of range". I found a workaround
here but it is for Sql Server Reporting Services (remote). And, I am not doing anything in IsPostBack event. Actually, I even commented IsPostBack...
If anyone knows a solution or workaround, please let me know,
Feb 23, 2007 10:16 AM|bullpit|LINK
Sep 07, 2007 12:33 PM|mhasan|LINK
Before calling report path put in.
If (IsPostBack) return;
This should fix the "Page Navigation out of range" error.
Sep 07, 2007 01:26 PM|bullpit|LINK
Thanks a lot mhasan[Yes]. That did take care of it. This thread is so old I almost lost hope there.