So....what do I do about your dates....
Sitefinity and Kendo hate eachother when it comes to dates...SF wants to send the wierdo WCF format, Kendo expects a real date format.
Is there a workaround outside of you guys fixing it to serialize with JSON.Net? :)...like short-term, can I somehow convert it?
Hi Steve,
I would have to consult my colleagues on this one, so it would be great if you could provide me with some additional details about what you're trying to achieve and where you get the date format from. Thank you for your cooperation.
All the best,WCF date formatting isn't a valid JS date format and thus kendo can't parse it. Just sucks to work with...
www.hanselman.com/.../OnTheNightmareThatIsJSONDatesPlusJSONNETAndASPNETWebAPI.aspx
This is fixed in the latest WebAPI to use the ISO 8601 date standard by using JSON.Net internally. So perhaps the "fix" if it doesn't bite you guys in the ass enough on the kendo conversion is wait until SF implements WebApi for its services?
Hi Steve,
I consulted my colleagues, and it turns out that changing date format to json.net is a tough one, since json.net doesn't support type/property descriptors, which are used in Sitefinity pretty often. Our developers have tried to do that, but the json.net API is not compatible with the changes. As a workaround you can take a look at this blog post, where a similar problem is discussed:
http://www.kendoui.com/forums/ui/grid/how-to-use-datasource-schema-kendogrid-columns-properties-with-complex-json-responses.aspx#1805916
Hope this helps!
hello,. i am glad to have also read this message