I have tried in several ways to remove this border that appears in the report viewer, and I did not get it at all.
BelowispartofmycodewiththepropertiesIaddedtoremovetheborder:
viewer.SizeToReportContent=true;viewer.Width=System.Web.UI.WebControls.Unit.Percentage(100);viewer.Height=System.Web.UI.WebControls.Unit.Percentage(100);viewer.BorderWidth=0;viewer.InternalBorderStyle=System.Web.UI.WebControls.BorderStyle.None;
TheHTMLisbelow:
<divclass="row-fluid">
<div class="blockGT">
<div class="navbar">
<div class="navbar-inner">
<ul class="breadcrumb">
<li class="icon-chevron-left hide-sidebar"><a href='#' title="Hide Sidebar" rel='tooltip'> </a></li>
<li class="icon-chevron-right show-sidebar" style="display:none;"><a href='#' title="Show Sidebar" rel='tooltip'> </a></li>
<li>RELATÓRIO <span class="divider">/</span></li>
<li>PAGAMENTOS POR EMPRESA<span class="divider"></span></li>
</ul>
</div>
</div>
</div>
<div class="block">
<div class="navbar navbar-inner block-header">
<div class="muted pull-left"><b>RELATÓRIO DE PAGAMENTOS POR EMPRESA</b></div>
</div>
<div class="block-content collapse in teste">
<div class="span12">
@Html.ReportViewer(ViewBag.ReportViewer as Microsoft.Reporting.WebForms.ReportViewer, htmlAttributes: new { @Width = "100%", @Height = "100%" })
</div>
</div>
</div>
</div>