Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Two scrollbar prob in reportviewer

Author  Topic 

sanghavi17389
Starting Member

26 Posts

Posted - 2012-07-03 : 03:37:28
Hi,

I am using SSRS for reports generattion.
In my asp.net application I am using reportviewer and binding those SSRS reports.

Now my problem is that I am getting two vertical scrollbars that looks not good.
I want to hide one of them.
How can I?
All suggestions are welcomed...

harshal sanghavi

SQLJames
Starting Member

35 Posts

Posted - 2012-07-03 : 10:46:21
I had a similar problem and a co-worker who is a genius with CSS gave me the following to put in my aspx page that fixed the problem for me. It may help with your situation. I had similar problems as you describe where I had gauges displayed in a table layout. If the page is not maximized, the report viewer generates scrollbars. Adding this css below resolved that for me. You will probably have to play with the numbers.

<style type="text/css">
body
{
min-width: 1200px;
width: expression(document.body.clientWidth < 1200 ? "1200px": "auto" );
}
</style>
Go to Top of Page
   

- Advertisement -