Report viewer width & background issues

Posted by Ravimakhija88 under Error and Solution on 12/10/2013 | Points: 10 | Views : 2034 | Status : [Member] | Replies : 2

I'm new to reporting services and having trouble getting a report to render correctly on my ASPX page. I have applied following properties on MS Report viewer 10 with asp.net 4.0

AsyncRendering="true" SizeToReportContent="true" Width="100%"


my report has taken background color of page instead of taking white color, width is also not applied correctly..

Any suggestions appreciated!!




Responses

Posted by: vishalneeraj-24503 on: 12/10/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Hi check:-

Wrap the ReportViewer in a div.

Set the width and background color in your wrapping div.

This should solve your problem, unless you're setting unusual properties in your CSS.

Before blaming the ReportViewer, verify that your wrapping div looks as expected.

Check it in different bbrowsers, as you can get different results (In this respect, ReportViewer is a headache).


Ravimakhija88, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: vishalneeraj-24503 on: 12/10/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Refer:-
http://stackoverflow.com/questions/949165/report-viewer-width-problem-in-mozila

Ravimakhija88, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response