How to get members of a Json object

2 posts, 0 answers
  1. Anton Swanevelder
    Anton Swanevelder avatar
    28 posts
    Member since:
    Aug 2008

    Posted 13 Dec 2012 Link to this post


    Pretty sure this is my lack of Json knowledge but how can I get a member in a Json object returned?

    I am also using a DataSource here is there any other suggested way to get data that will not be bound to a control?

    test: function () {
            var dataSource = new{
                transport: {
                    read: {
                        url: "",
                        dataType: "jsonp"
                requestStart: function (e) {
                requestEnd: function (e) {
                error: function (e) {
    If you guys can add more simple non-bound examples to your documentation please.

  2. Daniel
    Daniel avatar
    2109 posts

    Posted 15 Dec 2012 Link to this post

    Hello Anton,

    The result returned from the server is available through the response event argument in the requestEnd event as described in the documentation. From the code snippet it seems that you are trying to access a custom field returned from the server:

    requestEnd: function (e) {
    The dataSource data method returns an observable array.

    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