Hi,
in Bold report designer, my report correctly display barcode. But when executing application , this same .rdl report display empty barcode.
I need your help please
Hi Jcn,
Thanks for contacting Bold Report support.
If you are using the barcode in the bold reports designer application, you need to install the BoldReports.CRI.Barcode nuget package as shown in the below snap. You also need to register barcode custom report item extension in the application startup as shown in the below code snippet.
|
using BoldReports.Web; public Startup(IConfiguration configuration, IWebHostEnvironment _hostingEnvironment) { //Use the below code to register extensions assembly into report designer ReportConfig.DefaultSettings = new ReportSettings().RegisterExtensions(new List<string> { "BoldReports.CRI.Barcode" });
Configuration = configuration; env = _hostingEnvironment; } |
Please refer to the below documentation to register the barcode customer report item extension for your reference.
Note: If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.
Regards,
Arumugasami M
Hi Jcn,
Thanks for the update,
We are glad to hear that the reported issue has been resolved on your end. If you face any other issues, we suggest you open a new ticket using your account.
https://support.boldreports.com/create
Regards,
Arumugasami M
I have the same issue , but Im using .net6 blazor where there is no startup .cs
and I registerd
ReportConfig.DefaultSettings = new ReportSettings().RegisterExtensions(new List<string> { "BoldReports.CRI.Barcode" });
on program.cs
and still no barcode displayed and it shows me An error occurred while rendering 'CustomReportItem'
I installed all required nuget packages linked js files and Css file but no luck
Hi Jcn,
Thanks for the update.
We have validated the reported issue in .net 6 blazor application. Could you please confirm whether you have installed BoldReports.CRI.Barcode nuget package and also you also need to register barcode custom report item extension in the application program.cs file as shown in the below snap. We have prepared and attached the sample blazor application for your reference.
Regards,
Arumugasami M
HI Arumugasami M,
happy to hear from you.
Indeed my problem had been solved since and I had reported it to you in a previous ticket.
I'm currently using net5 and haven't migrated to net6 yet. I'll let you know after I migrate.
thank you very much.
JC N
Hi Jcn,
Thanks for the update.
We will wait for your further update
Regards,
Arumugasami M