Premium forums

Using autocomplete with our local oData service

  • Paulie
    Paulie avatar

    12 Jan 2012 (Link to this post)

    I trying to get autocomplete working with an ODS data service we developed locally.  I have the Netflix example working fine, but when I plug in my odata service instead it doesn't work.

    I've attached the data that my service returns.  As far as I can tell the format is the same as the Netflix sample. The DataServiceProtocolVersion is being set to V2.

    Here is my js code:

        $("#input").kendoAutoComplete({
            minLength: 3,
            dataTextField: "STRATEGY_NM",
            dataSource: {
                type: "odata",
                serverFiltering: true,
                serverPaging: true,
                pageSize: 20,
                transport: {
                    read: "http://localhost:53673/MyoData.svc/STRATEGIES"
                }
            }
        });
  • Gabriel
    Gabriel avatar

    16 Jan 2012 (Link to this post)

    Have you tried using Fiddler and comparing both your service and Netflix just to rule that out entirely?
  • Sovan
    Sovan avatar

    19 Jan 2012 (Link to this post)

    You've written your service name wrong.
    Should be MIO_oData.svc

Read FAQ or see Kendo UI in action!

Launch Demos