none
Block scrolling in RDLC Reports RRS feed

  • Question

  • Hi folks!

    I am working on RDLC reporting services for Windows forms C#. If my reports have more than one page and if I try to scroll down and reach at end of page, it takes me to the next page automatically. I donot want this to happen. please guide me how to block this default feature? 

    hope I made my point clear,

    Thanks in advance,

    Regards
    Vi.
    • Moved by nobugz Saturday, August 22, 2009 10:27 AM (From:Visual C# General)
    Saturday, August 22, 2009 7:23 AM

Answers

  • There is no built-in way to turn off that functionality.  But you can handle the ReportViewer.PageNavigation event and cancel the page navigation.  You will need to be careful about when you cancel the event, as this event will also fire when navigating via the toolbar page navigation buttons.
    • Marked as answer by Vidyadhar K Wednesday, September 2, 2009 1:26 PM
    Sunday, August 23, 2009 6:39 AM
    Moderator

All replies

  • There is no built-in way to turn off that functionality.  But you can handle the ReportViewer.PageNavigation event and cancel the page navigation.  You will need to be careful about when you cancel the event, as this event will also fire when navigating via the toolbar page navigation buttons.
    • Marked as answer by Vidyadhar K Wednesday, September 2, 2009 1:26 PM
    Sunday, August 23, 2009 6:39 AM
    Moderator
  • Hm.. Thanks for the clue Mr. Brian, Il work on it.
    Wednesday, September 2, 2009 1:26 PM