kendo ui autocomplete with json <HELP>

I'm sure i'm just missing the basics.   I have a json file on my IIS Web Server (Windows 2012) located under a folder called "Jsond"

For testing i created the json file from : http://www.json-generator.com/

I have no idea why i can't get the code from Kendo UI web site to work on my local test box?  What I'm i missing or need to learn.
(using MS visual studio 2013 (free) to code and test with)

I have a feeling it has something with the URL, but google is not finding me anything.

 <input id="autocomplete" />
    <script>
var dataSource = new kendo.data.DataSource({
  transport: {
    read: {
      url: "/jsond/json.json",
      dataType: "json"
    }
  }
});
$("#autocomplete").kendoAutoComplete({
  dataSource: dataSource,
  dataTextField: "name"
});
    </script>

Open in new window

POOK-101Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dan McFaddenSystems EngineerCommented:
Have you tried with the full URL?

Kendo UI Docs:  http://docs.telerik.com/kendo-ui/api/javascript/data/datasource#configuration-transport.read

Are you getting and errors?

Dan
POOK-101Author Commented:
If i put this in the code (shown below) it works fine

* Same-domain (internal website only)

url: "http://demos.telerik.com/kendo-ui/service/products",
        dataType: "jsonp"

Open in new window

Dan McFaddenSystems EngineerCommented:
OK, the dataType "jsonp" is for cross domain requests.  If you are requesting within the same domain, is should be "json" ... as per the documentation.

Are there any errors returned anywhere when your code executes?

Dan
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

POOK-101Author Commented:
No errors.

<!DOCTYPE html>
<html>
<head>
   
    <style>
        html {
            font-size: 14px;
            font-family: Arial, Helvetica, sans-serif;
        }
    </style>
    <title></title>
    <link href="../Content/kendo/2015.2.624/kendo.common-material.min.css" rel="stylesheet" />
    <link href="../Content/kendo/2015.2.624/kendo.material.min.css" rel="stylesheet" />
    <script src="../Scripts/jquery-2.1.4.min.js"></script>
    <script src="../Scripts/kendo/kendo.all.min.js"></script>
</head>
<body>

    <input id="autocomplete" />
    <script>
        var dataSource = new kendo.data.DataSource({
            transport: {
                read: {
                    url: "/Json_Data/TestJson",
                    dataType: "json"
                }
            }
        });
        $("#autocomplete").kendoAutoComplete({
            dataSource: dataSource,
            dataTextField: "Name"
        });
    </script>

Open in new window


screenshot-of-file-location.png
Dan McFaddenSystems EngineerCommented:
Ok, so then what is the issue?

Dan
POOK-101Author Commented:
Nothing happens when type in the input box. I can start typing the name "Lindsay" but nothing happens.

** example from json file

{
    "_id": "55f31eef93aa14c548b74d10",
    "index": 2,
    "guid": "abce9ddf-50cb-4b7f-913b-b3d13d221c79",
    "isActive": false,
    "balance": "$3,725.53",
    "picture": "http://placehold.it/32x32",
    "age": 25,
    "eyeColor": "brown",
    "name": "Lindsay Gilmore",
    "gender": "male",
    "company": "OBONES",
    "email": "lindsaygilmore@obones.com",
    "phone": "+1 (883) 558-3498",
    "address": "760 Remsen Street, Glidden, Arizona, 5116",

Open in new window

POOK-101Author Commented:
So it start working when i removed...

** removed :   dataType: "json"

**********************************
input id="autocomplete" />
    <script>
        var dataSource = new kendo.data.DataSource({
            transport: {
                read: {
                    url: "/Json_Data/TestJson.json",
                    
                }
            }
        });
        $("#autocomplete").kendoAutoComplete({
            dataSource: dataSource,
            dataTextField: "name"
        });
    </script>

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
POOK-101Author Commented:
not 100% sure why it worked.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.