Learning Kendo List View

3 posts, 0 answers
  1. Emmanuel
    Emmanuel avatar
    18 posts
    Member since:
    Oct 2010

    Posted 21 Feb 2012 Link to this post

    I started learning Kendo Mobile, Is working with a local data, then i tried to work with a simple webservice. the webservice return a List of:

      public class Test
            public string name { get; set; }
            public string Prom { get; set; }

    in JSON Format. I verified, and put a break point at the method and also check in Firefox Firebug. it's correct. the following is my code

        <div data-role="view" id="grouped"
            data-transition="" data-title="ListView" data-layout="databinding">
            <ul id="grouped-listview">
        <script type="text/javascript">
            $(function () {
                var dataS = new kendo.data.DataSource({
                    transport: {
                        read: {
                            type: 'POST',
                            url: 'KendoMobile.asmx/GetTest',
                            dataType: 'json',
                            data: '{}',
                            contentType: 'application/json; charset=utf-8'

                        schema: {
                            data: 'd'
                        group: 'Prom'

                     dataSource: dataS,
                    template: "${name}"


    the page is not showing any data. What's wrong with my code. all CSS, and JS are added correctly since is working with a local data. Any help would be greatly appreciated.
  2. Emmanuel
    Emmanuel avatar
    18 posts
    Member since:
    Oct 2010

    Posted 09 Mar 2012 Link to this post

    More than 20 days of posting and viewed more than 2000 times still no answer from Telerik. Our company has all Telerik products, and I was just evaluating mobile software. I think I will continue with jqueryMobile controls, since I got more support at Stackoverflow.  
  3. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 12 Mar 2012 Link to this post

    Hello Emmanuel,

    The forums are a community resource and we do not guarantee a timely reply here. If you are assigned to an active license for the product, you can submit a support ticket which is the official support channel and is the best way to reach the support staff. In such case the system will automatically assign a response time to the ticket (24 or 48 hours depending on the license type).

    As for the problem itself, I see that you have declared the schema object in the transport configuration - it should be declared as a separate setting of the DataSource as shown in the documentation and in the demos.

    Georgi Tunev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top