Thursday, January 31, 2013

IE Kendo UI error: Object does not support the property or method


[object Object] Has No Method kendoGrid

You may also see it as...
  • $("#grid").kendoGrid is not a function (FireFox)
  • Object doesn't support the property of method "kendoGrid" (IE 9+)
  • Object doesn't support this property or method (IE 8-)
This can occur for a variety of reasons:
  1. You have not included Kendo UI at all
  2. You are referencing the wrong path to Kendo in your page
  3. You include jQuery both before and after Kendo UI which wipes out Kendo

If you have followed all of the above and are using Visual Studio 2012, read below:

I had an issue where I was debugging and IE9 would give me the above error. After hours of troubleshooting, the answer was simple.  Clear Browser cache, Close all browsers, Stop all services, Close all visual studio instances, reboot Visual Studio.   Problem solved.  Very rare instance, but it happened to me.