- Home
- Forum
- ASP.NET Core
- Report Viewer SRSS updated example
Starting in 2019, the Reporting control is no longer included in Essential Studio®. If you're experiencing issues with the Syncfusion� Reporting Platform, Report Viewer, Report Designer, or Report Writer, we recommend migrating to Bold Reports, our dedicated reporting platform.
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.
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.
Report Viewer SRSS updated example
Hi,
Cannot create an app using below example. Found an example but using only core 2.
I got stuck at controller: this -> "cannot convert from homecontroller to ReportViewer.IReport controller..
public object PostReportAction([FromBody] Dictionary jsonArray)
{
return Syncfusion.EJ.ReportViewer.ReportHelper.ProcessReport(jsonArray, this, this._cache);
}
Please help with an updated guide or an example for core 2.2.
Best
/Peter
SIGN IN To post a reply.
3 Replies
VS
Vinoth Srinivasan
Syncfusion Team
February 11, 2020 06:13 AM UTC
Hi Peter,
Thanks for your interest in Syncfusion products.
As per our plan of having the reporting components as separate from our Syncfusion Essential Studio, we were introduced Bold Reports from Syncfusion. Based on this migration, will not have the further feature updates with Syncfusion Essential Studio products from now onwards. So, you need to consider migrating the reporting components to Bold Reports libraries with changes in namespace and declarations for getting new feature updates. Please refer the below getting started document for creating a sample using Bold Reports.
We don’t have any major difference for Asp.Net Core framework 2 and 2.2. So, you can use the above help documentation to create sample application and if you face any issue, then let us know with details. We will validate and update the solution details.
You can use your existing Essential Studio license to get our Report Viewer SDK from Bold Reports. Please find the details below,
2. Once you have logged in Bold Reports, if you are having eligible license to access of Report Viewer SDK then you can able to get the latest Report Viewer SDK from downloads.
Note: If you are having any problem to get the access of Report Viewer SDK with Bold Reports then you must contact sales team to provide more details about your license and direct you to get the Report Viewer SDK in Bold Reports.
3. We have released Bold Reports with licensing, So, additionally you must register the license key in startup of your application as explained in below documentation,
Regards,
Vinoth S.
PE
Peter
February 11, 2020 09:42 AM UTC
Thanks,
Attachment: ssrsboldreports_91d6cb9c.zip
using
and key generated from my page.
Still no luck with getting the example to work. It builds fine but won't show a report.
Can you please make a working example in core and put into the guide? My test repo attached..
Thx
/Peter
Attachment: ssrsboldreports_91d6cb9c.zip
MS
Mahendran Shanmugam
Syncfusion Team
February 12, 2020 05:58 AM UTC
Hi Peter,
Thanks for your update.
We have checked the mentioned issue with your shared application and you have used the multiple JQuery script in your application(Because we have provided the JQuery cdn link in head tag as shown in below snap). So could you please comment duplication of JQuery files to render our Report Viewer control as shown in below code example.
Layout.cshtml:
|
<body>
<header>
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
<div class="container">
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">ssrsboldreports</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target=".navbar-collapse" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse d-sm-inline-flex flex-sm-row-reverse">
<ul class="navbar-nav flex-grow-1">
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Index">Home</a>
</li>
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<div class="container">
<partial name="_CookieConsentPartial" />
<main role="main" class="pb-3">
@RenderBody()
</main>
</div>
<footer class="border-top footer text-muted">
<div class="container">
© 2020 - ssrsboldreports - <a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
</div>
</footer>
<environment include="Development">
@*<script src="~/lib/jquery/dist/jquery.js"></script>*@
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.js"></script>
</environment>
<environment exclude="Development">
@*<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"
asp-fallback-src="~/lib/jquery/dist/jquery.min.js"
asp-fallback-test="window.jQuery"
crossorigin="anonymous"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=">
</script>*@
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.min.js"
asp-fallback-src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"
asp-fallback-test="window.jQuery && window.jQuery.fn && window.jQuery.fn.modal"
crossorigin="anonymous"
integrity="sha384-xrRywqdh3PHs8keKZN+8zzc5TX0GRTLCcmivcbNJWm2rs5C8PRhcEn3czEjhAO9o">
</script>
</environment>
<script src="~/js/site.js" asp-append-version="true"></script>
@RenderSection("Scripts", required: false)
@*PETER*@
<div style="min-height: 600px;width: 100%;">
@RenderBody()
</div>
@RenderSection("Scripts", required: false)
<!-- Bold Reports script manager -->
<bold-script-manager></bold-script-manager>
</body> |
We have modified your application and it can be downloaded from below location.
Output snap:
Regards,
Mahendran S.
SIGN IN To post a reply.
- 3 Replies
- 3 Participants
-
PE Peter
- Feb 10, 2020 03:28 PM UTC
- Feb 12, 2020 05:58 AM UTC