Cannot read property 'ej2_instances' of null

Hi There,
I'm getting Cannot read property 'ej2_instances' of null error in a razor page where I'm using Grid control. I'm actually not sure which step is causing the error because I don't get this error always but whenever this error is there in the console, the grid behaves weird. Sometimes it allows editing for all the fields, sometimes it removes the filters etc. I've attached the razor page code and my classes for this

Attachment: CodeForSyncfsuion.20200331_c7fd6c1.zip

1 Reply

RS Renjith Singh Rajendran Syncfusion Team March 31, 2020 09:03 AM UTC

Hi Preity, 

Thanks for contacting Syncfusion support. 

We tried to reproduce the reported problem by creating a sample using the shared codes with our 17.4.0.55 version. But we could not face the script error from the sample which we have tried. We are attaching the sample which we have tried form our side for your convenience, please download the sample from the link below, 

We suspect that the script error might have occurred from any JavaScript interop functions you are using in your application. So we need more details to further proceed on this and provide you a solution as early as possible. Kindly get back to us with the following details for better assistance. 
  1. Share a issue reproducing sample. Or try reproduce the problem with the above attached sample and share with us to validate further.
  2. Share the complete stack trace details of the script error you are facing.
  3. Share the details of JS interop files, if you are using any in your application.
  4. If possible, kindly share the sample which you have tried form your side. SO that we could validate further with your sample based on your scenario.
  5. Share the exact scenario or proper replication procedure to reproduce the issue.
  6. Share a video demo showing the problem you are facing.

The provided information will help us analyze the problem, and provide you a solution as early as possible.\ 

And also we would like to inform you that we have released a new version 18.1.0.36-beta, in this version we have included several breaking changes and fixes for issues. So we also suggest you upgrade to our latest release version. 
 
Regards, 
Renjith Singh Rajendran. 


Loader.
Up arrow icon