Adding custom columns/properties, DateTime showing as undefined

4 posts, 1 answers
  1. Aleksander
    Aleksander avatar
    17 posts
    Member since:
    Mar 2014

    Posted 19 Nov 2014 Link to this post

    Hello,

    I've tried to add some custom properties to the Gantt chart. But the added datetime columns just list undefined.
    The properties are being sendt from the client as json and I've tried to hook up the custom properties in the aspx code as shown here.

    See screenshots.
  2. Answer
    Bozhidar
    Admin
    Bozhidar avatar
    1102 posts

    Posted 19 Nov 2014 Link to this post

    Hi,

    Could you try setting the ClientPropertyNames to lowercase, so that they are "actualStart" and "actualEnd"​?

    Regards,
    Bozhidar
    Telerik
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Aleksander
    Aleksander avatar
    17 posts
    Member since:
    Mar 2014

    Posted 19 Nov 2014 in reply to Bozhidar Link to this post

    Thank you, camel casing the properties worked ( I had tried all lowercase before and that did not work ).

    How can you format the datetime fields (json is same for all fields) ?
  5. Aleksander
    Aleksander avatar
    17 posts
    Member since:
    Mar 2014

    Posted 19 Nov 2014 in reply to Aleksander Link to this post

    Sorry, I figured it out. 
    Had to use the telerik:GanttDateColumn instead of the telerik:GanttBoundColumn in the aspx code. sorry.
Back to Top