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

Problem to get datasource is "null" or “not an object” for kendo drop down list in Internet explorer 8 with compatibility view mode on

0 Answers 79 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Prashant
Top achievements
Rank 1
Prashant asked on 26 Jun 2012, 02:28 PM
After submitting form We are getting dropdown is undefined with an error datasource object is “null” or “not an object”

We are using dropdown component as below code

Examples:

var dropdown = $("#cboxLoadedContent #connection_mode").data("kendoDropDownList");

dropdown.dataSource.data([{text:'Connection Mode',value:'0'},{text:'Local Files',value:'localfiles'}]);

This is happened only on internet explorer 8 with compatibility view mode on/lower version of internet explorer browser.
It working properly with mozila 9 and Internet explorer 8.

Thanks in advaced.
Please reply me as soon as possible.

No answers yet. Maybe you can help?

Tags
Data Source
Asked by
Prashant
Top achievements
Rank 1
Share this question
or