TypeError: Cannot read property '0' of undefined

I am getting the following error when using basic syncfusion components: TypeError: Cannot read property '0' of undefined. It is not breaking anything but still it is appearing in the web console. I have attached a screenshot of the error.

Attachment: TypeError_820e6c85.rar

1 Reply

RS Renjith Singh Rajendran Syncfusion Team February 19, 2020 06:06 AM UTC

Hi Ivan,  

Thanks for contacting Syncfusion support.  

Query: “TypeError: Cannot read property '0' of undefined 

From the script error, we suspect that reported issue has occurred when trying to call a method in our source. This issue might occur when instance of Syncfusion components is not obtained properly in the client side. So kindly share the following details which will be helpful for us to validate the reported issue at our end.  

  1. Did you see any exception other thrown in the browser developer tool(can be opened by pressing F12)? If so please share the exception details.
  2. Are you facing the reported issue while navigating from one page to another with Syncfusion components or during initial rendering itself.
  3. Share the issue replication procedure along with video demonstrations.
  4. Share the Grid code example.
  5. Share your Razor page along with the details about the Components in that razor page.
  6. Kindly confirm whether your Syncfusion Nuget and script version is 17.4.0.50?

Requested details will be helpful for us to validate the reported issue at our end and provide the better solution as soon as possible.     

Regards, 
Renjith Singh Rajendran. 


Loader.
Up arrow icon