Kendo UI DataSource / JSON Issue

2 posts, 0 answers
  1. Richard
    Richard avatar
    28 posts
    Member since:
    Sep 2011

    Posted 10 Aug 2013 Link to this post

    Sorry for the cross-posting but going crazy on this one.

    So essentially, when I use a Kendo Data Source and send anything in the data: field as part of the transport/read command this is what I see come across in fiddler in the json request.


    If I don't use the Kendo Data Source and just a common ajax request I don't see these problems at all.  Just curious if anyone has seen this before.  I must be doing something stupid.


  2. Richard
    Richard avatar
    28 posts
    Member since:
    Sep 2011

    Posted 11 Aug 2013 Link to this post

    I figured it out after playing around with it for a while.  I found this works.  So putting the more traditional and working $.ajax request into the read function all was perfect.

    transport: {
                        read: function(options) {
                                type: "POST",
                                url: "",
                                data:  "{'sUsername':'','sPassword':'13123','sUserID':'1539','sClubID':'1'}",
                                contentType: "application/json; charset=utf-8",
                                dataType: "json",
                                success: function (result) {
Back to Top