Page navigation is out of range ????

Last post 09-07-2007 1:26 PM by bullpit. 3 replies.

Sort Posts:

  • Page navigation is out of range ????

    02-21-2007, 8:20 AM
    • All-Star
      21,117 point All-Star
    • bullpit
    • Member since 06-29-2006, 11:59 AM
    • Posts 4,665

    Hi all,

    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,

    Thanks,

    bullpit...

  • Re: Page navigation is out of range ????

    02-23-2007, 10:16 AM
    • All-Star
      21,117 point All-Star
    • bullpit
    • Member since 06-29-2006, 11:59 AM
    • Posts 4,665
    please someone...i need this
  • Re: Page navigation is out of range ????

    09-07-2007, 12:33 PM
    Answer
    • Member
      26 point Member
    • mhasan
    • Member since 04-26-2007, 3:06 PM
    • Posts 8

    Before calling report path put in.

    If (IsPostBack) return;

    This should fix the "Page Navigation out of range" error.

    M. Hasan
  • Re: Page navigation is out of range ????

    09-07-2007, 1:26 PM
    • All-Star
      21,117 point All-Star
    • bullpit
    • Member since 06-29-2006, 11:59 AM
    • Posts 4,665

    Thanks a lot mhasanYes. That did take care of it. This thread is so old I almost lost hope there.

Page 1 of 1 (4 items)