- Home
- Forum
- ASP.NET MVC
- Top border in Tablix header
Bold Reports offers a comprehensive suite of tools and features for all your reporting needs, and we will help you make a smooth transition from the discontinued control. Our support team at https://support.boldreports.com/ is here to assist you with any questions or difficulties you may encounter during the migration process.
We thank you for choosing Syncfusion� and appreciate your understanding.
Top border in Tablix header
Attached is the CampaignList.rdlc file and a screenshot of the report generated by the CampaignList.rdlc file.
In the screenshot, the report does not have the top border in the Tablix header.
How do I set Tablix to appear the top border in the header?
Can you show the setting in a video?
Regards,
Junior
Attachment: Report_c8fed995.rar
Hi Yuvaraj,
Here is the code for the layout and the view that calls the report:
_LayoutSyncfusionReport.cshtml
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" rel='nofollow' href="https://cdn.syncfusion.com/14.4.0.20/js/web/flat-azure/ej.web.all.min.css" />
<script src="https://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js" type="text/javascript"></script>
<script src="https://cdn.syncfusion.com/14.4.0.20/js/web/ej.web.all.min.js"> </script>
<script src="https://cdn.syncfusion.com/14.4.0.20/js/common/ej.unobtrusive.min.js"></script>
@RenderSection("styles", required: false)
</head>
<body>
<header></header>
<div id="body">
@RenderSection("featured", required: false)
<section class="content-wrapper main-content clear-fix">
@RenderBody()
@RenderSection("scripts", required: false)
</section>
</div>
@Html.EJ().ScriptManager()
</body>
</html>
CampaignListReport.cshtml
@using Syncfusion.MVC.EJ
@{
Layout = "~/Views/Shared/_LayoutSyncfusionReport.cshtml";
}
<style>
#reportviewer {
min-height: 650px;
min-width: 100%;
}
</style>
<div style="width:100%">
@(
Html.EJ().ReportViewer("reportviewer")
.ProcessingMode(Syncfusion.JavaScript.ReportViewerEnums.ProcessingMode.Local).ReportPath("~/ReportServer/CampaignList.rdlc")
.ReportServiceUrl(VirtualPathUtility.ToAbsolute("~/api/ReportApi")).DataSources(ds => ds.Name("DataSet1").Value(ViewData["CampaignListDS"]).Add())
)
</div>
The version of the libraries I am using are as follows:
Syncfusion.EJ.ReportViewer - 14.4450.0.20
Syncfusion.EJ.MVC - 14.4500.0.20
Regards,
Junior
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents
Regards,
- 3 Replies
- 2 Participants
-
CJ Carlos Junior
- Sep 29, 2017 12:10 AM UTC
- Oct 2, 2017 10:20 AM UTC