Datasource oData transport

5 posts, 0 answers
  1. Marius
    Marius avatar
    3 posts
    Member since:
    Jul 2012

    Posted 14 Aug 2012 Link to this post

    Is there a way to define the create/update properties of the transport object as functions when using oData?
    Right now I'm allways getting Uncaught Error: Only json dataType can be used for create operation.
  2. Frank
    Frank  avatar
    1 posts
    Member since:
    Mar 2013

    Posted 21 Oct 2015 Link to this post

    Could someone answer this?

    I'm getting the same error.

  3. Kendo UI is VS 2017 Ready
  4. Alexander Popov
    Admin
    Alexander Popov avatar
    1416 posts

    Posted 26 Oct 2015 Link to this post

    Hello,

    I am afraid this scenario is not supported, however sharing more details about the expected behavior will allow us to give you some advice.

    Regards,
    Alexander Popov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  5. Bill
    Bill avatar
    31 posts
    Member since:
    Mar 2013

    Posted 07 Mar Link to this post

    I would like to be able to toast success or error messages based on the response.  

    How can this be done using OData with a kendo datasource?

  6. Alexander Popov
    Admin
    Alexander Popov avatar
    1416 posts

    Posted 10 Mar Link to this post

    Hello,

    The OData type uses JSONP requests, which do not have error and success handlers. You can try subscribing to the DataSource's requestEnd event handler and check the e.request argument.

    Regards,
    Alexander Popov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready