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

NodeFilter is undefined error when using IE Compatibility mode with Kendo UI SPA application

3 Answers 122 Views
SPA
This is a migrated thread and some comments may be shown as answers.
Raja
Top achievements
Rank 1
Raja asked on 24 Jun 2014, 06:12 PM
I am building a Kendo UI application which is working perfectly fine in IE11. But when I add the site to be displayed in compatibility mode in IE11 i am getting an error "'NodeFilter' is undefined'. It raises this error while rendering the layout. see below code.var appRouter = new kendo.Router({
init: function () {
layout.render("#application");
}
});Error is raised in kendo.web.min.js where it tries to remove white spaces (I guess by the name). This is the line of code that is failing.var t=document.createNodeIterator(n,NodeFilter.SHOW_TEXT,function(t){...}

Just learned that NodeFilter is a property for window object. window.NodeFilter is null when compatibility mode is enabled in IE11. But Telerik demo SPA site works fine under these settings.

I have posted this question here also http://stackoverflow.com/questions/24372876/nodefilter-is-undefined-error-when-using-ie-compatibility-mode-with-kendo-ui-spa

3 Answers, 1 is accepted

Sort by
0
Accepted
Petyo
Telerik team
answered on 26 Jun 2014, 08:30 AM
Hi Raja,

Due to numerous quirks (like the one you have encountered) Kendo UI does not support IE compatibility mode

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Raja
Top achievements
Rank 1
answered on 26 Jun 2014, 04:38 PM
Thanks Petyo. Just curious on how your SPA demo site Sushi works in compatibility mode. It is not fully functional but it does load the home page.
0
Petyo
Telerik team
answered on 27 Jun 2014, 11:39 AM
Hi Raja,

Most likely the demo works because the codebase does not hit this particular execution path (the strip whitespace method). 

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
SPA
Asked by
Raja
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Raja
Top achievements
Rank 1
Share this question
or