JS File and CSS (Get error)
Hello,


I downloaded :
material.css
ej2.min.js
ejs.interop.min.js
I put the path in the _host.cshtml., bug when I go to the page with a sync fusion component, I Get that error : Error: Microsoft.JSInterop.JSException: Could not find 'ejsInterop' in 'window'.
Error: Could not find 'ejsInterop' in 'window'
Can you help me please
Thank you.
SIGN IN To post a reply.
3 Replies
RS
Renjith Singh Rajendran
Syncfusion Team
February 19, 2020 06:12 AM UTC
Hi Sylvian,
Thanks for contacting Syncfusion support.
We suspect that, the problem may have occurred due to referring improper ej.interop.min.js file or incompatible version script files(ej2.min.js and ej.interop.min.js). So we suggest you to ensure whether the referred file is downloaded by inspecting it in the Browser network tab and refer the same version scripts(ej2.min.js and ej.interop.min.js) and styles(material.css). We have prepared a sample referring the same version(17.4.0.50) scripts and styles. Please download the sample from the link below,
If you still face the problem, then we suggest you to share the details regarding how you have downloaded the files. And also try using the below way to download the files.
In the above sample, we have used the local script files downloaded from our latest version(17.4.0.50) cdn links. To download scripts and styles, you can just go to the corresponding cdn link, and click the “Save as” option. Please find the screenshot below,
Documentation : https://ej2.syncfusion.com/blazor/documentation/grid/getting-started/#importing-syncfusion-blazor-component-in-the-application
Please get back to us if you need further assistance.
Regards,
Renjith Singh Rajendran.
SM
sylvain miron
February 19, 2020 09:47 AM UTC
Hello Renjith ,
The problem was solved, that's my mistake !
Thank you so much for your reactivity
Have a nice day.
RS
Renjith Singh Rajendran
Syncfusion Team
February 20, 2020 04:46 AM UTC
Hi Sylvian,
Thanks for your update.
We are glad to hear that your problem has been resolved.
Please get back to us if you need further assistance.
Regards,
Renjith Singh Rajendran.
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
SM sylvain miron
- Feb 18, 2020 10:29 AM UTC
- Feb 20, 2020 04:46 AM UTC