This is a migrated thread and some comments may be shown as answers.

Object doesn't support this property or method in IE8

5 Answers 282 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alex Pod
Top achievements
Rank 1
Alex Pod asked on 29 Nov 2012, 02:21 PM
Hello.

I have created ASP .NET MVC 4 Web API application, added the necessary Kendo UI files and settings (js, styles, web.config) and registered the necessary scripts and styles in Index.cshtml.
After that, I added empty Kendo grid in javascript block.
When I launched the application in Internet Explorer 8 browser, I have got the following error: Object doesn't support this property or method.
 When I launched the application in Internet Explorer 9 browser (on another machine), I have got no error and the operation succeeded.

As I can see, the problem is in the Internet Explorer 8 browser.
What should I do to make Kendo UI work properly on Internet Explorer 8?

Thanks,
Alex.

5 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 29 Nov 2012, 03:13 PM
Hello Alex,

Please paste your code here so we can take a look. I suspect there is some JavaScript which IE8 fails to parse (such as trailing commas).

Generally speaking Kendo UI works as expected in Internet Explorer 8. This can be verified by browsing the online demos.

Regards,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Alex Pod
Top achievements
Rank 1
answered on 02 Dec 2012, 09:11 AM
Hello, Atanas.

Thank you for your answer.
I am attaching the example project, as you requested, with the problem I have described.

Alex.
0
Accepted
Atanas Korchev
Telerik team
answered on 03 Dec 2012, 09:39 AM
Hello Alex,

There are a few problems with this project:
- Both the layout and view contain <html> and <body> tags. As you know a valid HTML page should contain only one <html> and <body> tag.
- You are using jQuery 1.7.1 whereas Kendo UI 2013.3 requires jQuery 1.8.2

Once those are fixed the project works as expected in IE8 (screenshot attached).

I am also sending you the fixed project.

Kind regards,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Mukul
Top achievements
Rank 1
answered on 14 Dec 2012, 04:51 PM
Hi Atanas

I am getting a similar error when trying to use cascading drop down list in my project.
Would you be able to tell me the reason for the same?

Attached are the views and the controller.
Please let me knwo if you want any additional information.

I am extracting the dropdownlist contents from the database

0
Atanas Korchev
Telerik team
answered on 17 Dec 2012, 07:40 AM
Hi Mukul,

 The attached layout does not contain any kendo ui widgets or scripts. 

Greetings,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Alex Pod
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Alex Pod
Top achievements
Rank 1
Mukul
Top achievements
Rank 1
Share this question
or