- Home
- Forum
- Report Platform
- Report Viewer in existing EJ2 .Net Core application
If you became a customer of the Syncfusion� Reporting Platform or the Report Viewer, Report Designer, or Report Writer components before October 2019 and have questions related to those products, you can request support through our forum system. However, please note that this support system is only for existing customers who are still using the Syncfusion� Reporting Platform or its components and not for new customers looking for reporting products from Syncfusion�.
For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion� for its reporting solutions. Our team will be happy to assist you with any questions you may have.
Thank you for choosing Syncfusion� for your reporting needs.
For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion� for its reporting solutions. Our team will be happy to assist you with any questions you may have.
Thank you for choosing Syncfusion� for your reporting needs.
Report Viewer in existing EJ2 .Net Core application
Hi!


Attachment: _Layout_f8b38c59.zip
I'm trying to add the report viewer into my existing ej2 .net core application. I followed the getting started tutorial in documentation, but as soon as I add the css ref into _Layout, my existing css is messed up.
This is before bold.reports.all.min.css
and this is after
It's like the css for the treeview exists in some bold reports css?
I'm using ej2 version 18.1.0.43.
My _Layout.cshtml is attached in zip file.
Thanks!
Bernard.
Attachment: _Layout_f8b38c59.zip
SIGN IN To post a reply.
5 Replies
MS
Muthuramana Sankaranarayanan
Syncfusion Team
May 4, 2020 01:36 PM UTC
Hi Bernard,
We have checked the reported issue from our end. In order to use the Bold Reports with EJ2 controls, we need to use the compatibility style files. Please find the below documentation link for reference,
Regards,
Muthu Ramana S
BJ
Bernard Jurlina
May 4, 2020 05:55 PM UTC
Hi Muthu Ramana S,


Attachment: _Layout_c982129.zip
and thanks! The css styles are ok now, but now I have the problem with js references.
In the attached zip I sent _Layout.cshtml and CreateEdit.cshtml. In the _Layout.cshtml I get this error
and in the CreateEdit.cshtml view I have tab component which is not rendered like it should be and the error is this
Thanks!
Bernard.
Attachment: _Layout_c982129.zip
MS
Muthuramana Sankaranarayanan
Syncfusion Team
May 5, 2020 11:23 AM UTC
Hi Bernard,
We checked the reported issue and we were able to reproduce it. This issue occurs due to the override of scripts as you are using both bold report viewer and ej2 controls. The ej2 controls will be registered with “ejs”. Hence, please use the ej2 controls as shown like in below code snippet,
|
function loadCultureFiles(name) {
var files = ['ca-gregorian.json', 'numbers.json', 'timeZoneNames.json'];
debugger;
var loader = ejs.base.loadCldr;
var loadCulture = function (prop) {
var val, ajax;
ajax = new ejs.base.Ajax('/js/cldr-data/main/' + name + '/' + files[prop], 'GET', false);
ajax.onSuccess = function (value) {
val = value;
};
ajax.send();
loader(JSON.parse(val));
};
for (var prop = 0; prop < files.length; prop++) {
loadCulture(prop);
}
}
loadCultureFiles('hr');
ejs.base.setCulture('hr');
ejs.base.L10n.load |
Regards,
Muthu Ramana S
BJ
Bernard Jurlina
May 5, 2020 12:16 PM UTC
Excellent!
Thank you very, very much. This thing is working just perfect!
SF is the best!
Regards,
Bernard.
MS
Muthuramana Sankaranarayanan
Syncfusion Team
May 6, 2020 11:11 AM UTC
Hi Bernard,
Thanks for your update.
We are happy that your issue was resolved. Please let us know if you need further assistance on this.
Regards,
Muthu Ramana S
SIGN IN To post a reply.
- 5 Replies
- 2 Participants
-
BJ Bernard Jurlina
- May 3, 2020 07:07 AM UTC
- May 6, 2020 11:11 AM UTC