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.





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, 

 

 
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. 


Loader.
Up arrow icon