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

Bug in latest Kendo Web build

0 Answers 106 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
George
Top achievements
Rank 1
George asked on 04 Apr 2012, 10:14 AM
I have no problem displaying the contents of the objects in a tabstrip with the earlier builds (kendoui.web-dataviz.2011.3.1129.open-source.zip), but now (kendoui.web.2012.1.322.open-source.zip) it shows the source instead of the content, even added hasOwnProperty checks. Do you know why?

                            <li><label>roles:</label>
                               #    for (var p in roles) { #
                               #        if (roles.hasOwnProperty(p)) #
                                        #= roles[p] #
                               # } #

found the fix....add this to your script...

kendo.data.ObservableArray.fn.toJSON = function() {
    return [].slice.call(this);
}

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
George
Top achievements
Rank 1
Share this question
or