Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Knockout templates problem ie8 and ie7 #61

Closed
notjulian opened this issue Apr 12, 2013 · 5 comments
Closed

Using Knockout templates problem ie8 and ie7 #61

notjulian opened this issue Apr 12, 2013 · 5 comments

Comments

@notjulian
Copy link

hi,
I've seen that
http://rniemeyer.github.io/knockout-kendo/web/ListView.html
(Using Knockout templates)

with ie7 and ie8 doesn't work?

thanks

also

http://stackoverflow.com/questions/15777338/knockout-kendo-listview-not-updating-in-ie-when-using-a-knockout-template

@edhedges
Copy link

Have you figured out why this is? Or a workaround of some sort?

@notjulian
Copy link
Author

hi,
I've use kendo ui grid + template / a foreach with a div + template

bye

@bsandhu
Copy link

bsandhu commented Jul 30, 2013

No idea. I am getting by with inline templates. Ryan, any suggestions on how to troubleshoot?

@navnitmehta
Copy link

I think the issue is due to memoization done by knockout and kendo does not have any special handling for that.

For templates, Knockout tries to insert placeholders (as html comments) during initial pass and then turns around and replaces them with actual markup, seems like on IE8; inserting html comments using .html("html comments") is not supported (http://bugs.jquery.com/ticket/13077) and thats what id done by kendo with the markup returned.

String build by knockout:

<!--[ko_memo:6839b3fb55657205]--><!--[ko_memo:b9028631869398]--><!--[ko_memo:b3bbba86664b9fe]--><!--    [ko_memo:39a61b20a3ee154]--><!--[ko_memo:412106798f999a2]--><!--[ko_memo:1daa1ecefe2992]-->

Code in kendo.web.js v2012.3.1315:

2013-10-16_180545

@navnitmehta
Copy link

I have submitted a Pull request for fixing this

#108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants