This is a migrated thread and some comments may be shown as answers.
Create event does not get start and end dates
1 Answer 3 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Jarosław asked on 25 Apr 2016, 11:58 AM


I'm having some problems with creating events in Kendo. When I create event it calls server but it does not fill in start and end dates in my event view model.

public class EventVm : IGanttTask
    public int Id { get; set; }
    public int? ParentId { get; set; }
    public int OrderId { get; set; }
    public decimal PercentComplete { get; set; }
    public DateTime Start { get; set; }
    public DateTime End { get; set; }
    public string Title { get; set; }
    public bool Summary { get; set; }
    public bool Expanded { get; set; }

What I see in Request.Form is:

Request.Form["Start"] == "4/24/2016 12:00:00 AM"

What I suspect is going on is - date is in US format, while my server is in UK or PL and probably MVC does not want to deserialize this date correctly and puts '01/01/0001 00:00:00 AM' in my  object.


Can I somehow force kendo to put it in ISO format? Or specify format somehow? Or maybe I'm missing something completly different?

1 Answer, 1 is accepted

Sort by
Hristo Valyavicharski
Telerik team
answered on 27 Apr 2016, 12:34 PM

This post is duplicated to:

Hristo Valyavicharski
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Asked by
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Share this question