A community member has associated this post with a similar question:
ReportViewer 15.0.0.0 shows scrollbar along the parameter and report body section

Only moderators can edit this content.

ReportViewer 15.0.0.0 vertical scroll on opening a sub record

Rakesh Guranani 0 Reputation points
2023-02-03T09:47:57.2633333+00:00


We have an MVC web application, and recently we migrated from Microsoft ReportViewer from 11.0.0.0 to 15.0.0.0 version.

We started having different issues in terms of UI, one of which is mentioned as below.

When we run the report from SSRS (SQL Server 2016), and click on the plus icon used to open the sub record (inner record), the vertical scroll bar maintains position and we can see the data clearly, as shown in below image



However, when the same report is run from MVC web application, using ReportViewer control, when we click on the plus button the scrollbar scrolls to the expanded icon and it does not gives good look and feel to end user. Sometimes the scroll even hide half of the current record. E.g. below is the screenshot when we run report from MVC web application using ReportViewer control. 1st image shows before clicking on the plus icon, and 2nd image shows after clicking on the plus icon.

Image-1



Image-2 


Has anyone come across such situation? How can I avoid such scrolling on opening a sub record ?

Following is code I have used in .aspx file of which uses ReportViewer control

I have also posted this question on stack overflow (link provided below) however with no luck yet.
https://stackoverflow.com/questions/75019275/reportviewer-15-0-0-0-vertical-scroll-on-opening-a-sub-record

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,255 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,799 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AniyaTang-MSFT 12,316 Reputation points Microsoft Vendor
    2023-02-06T03:12:53.4233333+00:00

    Hi @Rakesh Guranani

    Please see the answer at this link: https://learn.microsoft.com/en-us/answers/questions/1167360/reportviewer-15-0-0-0-shows-scrollbar-along-the-pa.

    If you have any questions, please feel free to let me know.

    Best regards,

    Aniya

    0 comments No comments