ODataDataSource Date Issue

3 posts, 0 answers
  1. Mark
    Mark avatar
    7 posts
    Member since:
    Apr 2013

    Posted 14 Mar 2014 Link to this post

    It appears that there may be a date format issue related to the RadScheduler and the ODataDataSource.  While it works with an OData Version 2 date, it fails if the ODataDataSource is pointed to an OData Version 3 web service.  I receive the following javascript error related to date parsing:

         Error: Unable to get property 'length' of undefined or null reference

    Our OData Service returns "2014-03-14T23:00:00" with version 3 while the older version returns dates like /Date(1394838000000)/

    Can you confirm that this is a bug on your end?  We are using the 2014 Q1 update which allowed us to upgrade our OData service to Version 3.
  2. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 19 Mar 2014 Link to this post

    Hi Mark,

    Updated:

    Currently the RadScheduler doesn't support OData Version 3. We are working to make it compatible with that version.

    Regards,
    Hristo Valyavicharski
    Telerik
     

    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 15 Apr 2014 Link to this post

    Hello,


    Regards,
    Hristo Valyavicharski
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top