Widgets Cannot Be Initialized in Internet Explorer Compatibility Mode
Environment
Product | Progress® Kendo UI® for jQuery |
Kendo Version | 2017.2.621 |
Description
Kendo UI widgets cannot be initialized in the Internet Explorer Compatibility Mode and an error is thrown.
Cause
Kendo UI widgets provide WAI-ARIA support, which means that some ARIA-specific attributes are added to the HTML element.
When a widget tries to add a WAI-ARIA attribute using the attr
jQuery method, which in turn calls the Element.setAttribute
method, the Internet Explorer in Compatibility mode will raise a JavaScript error.
This issue affects all Kendo UI widgets that add WAI-ARIA attributes to HTML elements.
Error Message
SCRIPT3: Member not found (in Internet Explorer 10+ in Compatibility Mode)
Solution
The problem is reported to Microsoft on https://connect.microsoft.com/IE/feedback/details/774078
and a jQuery bug report is submitted.
To handle this issue, use any of the following solutions:
-
Force the Internet Explorer to use the Edge mode:
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
Path jQuery. For more information about the possible path, refer to the jQuery bug report.