We're using your IgniteUI controls (V16.1) within an MVC project.
There are three developers on the project - 1 developer using Windows 7 (64-bit) and the other 2 developers using Windows 10 (64-bit). We're all using Chrome (V61.0.3163.100).
To load the required IgniteUI resources we're using the igLoader (using the MVC helper). This renders the following: //
We're successfully using the igGrid controls within our views.
The problem comes with the editor controls (we've tried the TextEditor and DatePicker). Using exactly the same code, the controls render correctly on the Windows 7 PC, but throw the following client error on the Windows 10 PC's:"igEditor is not a function" (in infragisics.loader.js)
The controls are rendered using the MVC helpers as follows:
@(Html.Infragistics().TextEditor().ID("tb").Render())@(Html.Infragistics().DatePicker().ID("dp").Render())
Do you have any suggestions how to fix this?
Regards, Dave
The rendered igLoader code was stripped out of my original post. Here it is:
$.ig.loader({ scriptPath: '/Scripts/Ig', cssPath: '/Content/Ig', theme: '' });
Hello dogle,
Thank you for posting in our community!
It seems the required js resources for the editors are missing from the Path’s specified by the igLoader. As you are using a different location for these resources in your project than the default one ($.ig.loader({ scriptPath: '/Infragistics/js/', cssPath: '/Infragistics/css/', .. });), it is very likely some of the resources are not copied correctly, AND/OR for the machine they are working ok , it is possible there is an additional reference to the resources or they are simply existing in the Paths specified.
I suggest you to double-check if there are missing resources from the browser’s network tab and as well as from the specified paths in your project.
More Info: The stand alone js file the editors depend on is infragistics.ui.editors.js and usually under \src\js\modules.
The other dependencies for each one of the editors can be found in the API and for the igTextEditor as example can be found here .
Related: https://www.igniteui.com/help/using-infragistics-loader