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

404 Failed to load resource kendo.all.min.js

1 Answer 1136 Views
AppBuilder in-browser client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Josh
Top achievements
Rank 1
Josh asked on 12 Apr 2013, 02:55 AM
I have a simple application that is trying to use a kendoDropDownList.  When I make the following call, $("#dropDownList").kendoDropDownList(), I get a a Uncaught TypeError: Object [object Object] has no method 'kendoDropDownList'.  I am pretty sure this is because I am also getting the following error in the JS console:
Failed to load resource: the server responded with a status of 404 (Not found mobile application resource.) http://app.icenium.com/Mist/Workspace/InventoryScanner/MobileSimulator/GalaxyS2/2.4.0/4.2/InventoryScanner/kendo/js/kendo.all.min.js

As a sanity check, I created a new project based on the KendoUI and added the following HTML to the first view

 <input id="dropDownList" />

Along with this JS code that I copied from the demo app and I am getting the same results.

$(document).ready(function() {
    var data = [
                        { text: "Black", value: "1" },
                        { text: "Orange", value: "2" },
                        { text: "Grey", value: "3" }
                    ];

                    // create DropDownList from input HTML element
                    $("#dropDownList").kendoDropDownList({
                        dataTextField: "text",
                        dataValueField: "value",
                        dataSource: data,
                        index: 0,
                    });
});

Does anyone have any idea why I would be getting this 404 error?

Thanks,

Josh

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 15 Apr 2013, 03:42 PM
Hi Josh,

Kendo DropDownList is part of Kendo UI Web and in order to use it, you should have license for it, add appropriate reference i.e.:

<script src="kendo/js/kendo.all.min.js"></script>

and last but not least verify that you have copied that file to the correct folder.

All the best,
Steve
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
Tags
AppBuilder in-browser client
Asked by
Josh
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or