locked
ReportViewer: mouse scroll wheel no effective when pointer over report RRS feed

  • Question

  • User-775831949 posted

    I have a ReportViewer with a long report and so there are scroll bars on right hand side.

    Usually we just can use the scroll wheel on mouse to drag downwards to reveal lower part of the page but I found this wheel is not working when the mouse pointer is over the report.

    Is there a work around for this ? Thanks 

    Friday, December 24, 2010 12:52 AM

Answers

  • User1471008070 posted

    Hi Hkbeer,

    I know you must have two scroll bar, one belongs to IE, and the other belong to Report, they are different. Sometime you have to click the right place the scroll bar could work. So to work aound the issue, you could remove one which belongs to report. Please type in below code in code-behind:

     protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                ……
                ReportViewer1.AsyncRendering = false;
                ReportViewer1.SizeToReportContent = true;
                ReportViewer1.ZoomMode = ZoomMode.FullPage;
                ……
            }
    

    If you have any question, please feel free to ask.

    Thanks,
    Challen Fu

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, December 27, 2010 3:15 AM

All replies

  • User1471008070 posted

    Hi Hkbeer,

    I know you must have two scroll bar, one belongs to IE, and the other belong to Report, they are different. Sometime you have to click the right place the scroll bar could work. So to work aound the issue, you could remove one which belongs to report. Please type in below code in code-behind:

     protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                ……
                ReportViewer1.AsyncRendering = false;
                ReportViewer1.SizeToReportContent = true;
                ReportViewer1.ZoomMode = ZoomMode.FullPage;
                ……
            }
    

    If you have any question, please feel free to ask.

    Thanks,
    Challen Fu

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, December 27, 2010 3:15 AM
  • User-775831949 posted

    It works !!! You are greeeeeaaatt!!!

    Thanks 

    Tuesday, December 28, 2010 7:20 AM
  • User-344705538 posted

    Hey.....this is cool........I was searching for an answer ...and this posting was the first in google search and it solved my problem..Now I can use mouse roller to scroll the page in which we have reportviewer.

    Thank you once again.

    Friday, June 17, 2011 6:14 PM