Wich is the correct order to load these js files?
<script src="~/Scripts/IG/Reporting/infragistics.reporting.js"></script>
<script src="~/Scripts/IG/infragistics.core.js"></script>
<script src="~/Scripts/IG/infragistics.lob.js"></script>
<script src="~/Scripts/IG/infragistics.dv.js"></script>
I have placed them in _Layout.cshtml in shared view (mvc 5)
Hello,
Thank you for sharing your experience with the community. I believe many of our community members may benefit from this!
Here is the complete list
<link href="~/Content/css3menu1/style.css" rel="stylesheet" />
<link href="~/Content/themes/overcast/jquery-ui-1.10.3.custom.min.css" rel="stylesheet" />
<link href="~/Content/IG/structure/infragistics.css" rel="stylesheet" />
<link href="~/Content/IG/Reporting/structure/infragistics.reporting.css" rel="stylesheet" />
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
<script src="~/Scripts/jquery-2.0.3.min.js"></script>
<script src="~/Scripts/jquery-migrate-1.2.1.js"></script>
<script src="@Url.Content("~/Scripts/jquery.cookie.js")"></script>
<script src="~/Scripts/jquery-ui-1.10.3.custom.min.js"></script>
<script src="~/Scripts/jquery.ui.datepicker-da.js"></script>
@Scripts.Render("~/bundles/jqueryval")
<script src="~/Scripts/IG/Reporting/modules/infragistics.ui.reportviewer.js"></script>
Hello Christian,
Thank you for the reply.
You need to manually reference several resources for the Report Viewer to work, including the Infragistics theme, Reporting structural CSS files, and the base JavaScript files, and infragistics.ui.reportviewer.js is from the reporting base scripts. The first reference that I send you describe that in more details.
I am glad that you have managed to resolve your issue! If you have any other questions, contact me.
The reason I asked was that I got an error when I used all 4 js file
I think the problem is that some of functionality in infragistics.reporting.js is also
in the other js files, but I replace the infragistics.reporting.js with infragistics.ui.reportviewer.js
and there was no more errors
Thank you for using our forum!
About your question, the order of these particular references must be:
infragistics.core.js infragistics.lob.js infragistics.dv.js infragistics.reporting.js
If you are using only IgniteUi controls, the first three will be enough, although when you have Report Viewer in your page you need to use reporting base script:
infragistics.reporting.js
Useful references:
Referencing Infragistics Resources in HTML5 Applications
JavaScript files required to work with the controls included in Ignite UI™
Getting Started with the HTML5 Report Viewer
If you have any further questions please let me know!