Custom GanttTask Null Date bug

5 posts, 1 answers
  1. Ron
    Ron avatar
    26 posts
    Member since:
    Oct 2010

    Posted 27 Mar 2013 Link to this post

    Hi,

    I have a custom GanttTask class that allows null values for a start date, (this is the date that the actual work have started and not the date it was planned to be started).

    I'm trying to validate that, if the user has entered a date, that date has to be less or equal to the end date, if not then show a warning to the user but let him continue, but also the user should be able to clear the content of the start date and that is an acceptable value, the problem is that when the TaskEdited event happens, the field that is bind to the Date Picker still has the old value, this only happens when clearing the value and not when the value has been updated, Is there any thing else that I need to do to make this work?

    thanks in advance for your help
  2. Answer
    Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 28 Mar 2013 Link to this post

    Hello,

    In the current version of RadGanttView we have an known issue concerning the TaskEdited event and we have logged it in our Public Issue Tracker System where you can track its status.

    We apologize for any inconvenience that this maybe causing.

    All the best,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Ron
    Ron avatar
    26 posts
    Member since:
    Oct 2010

    Posted 28 Mar 2013 Link to this post

    Hi Vladi,

    Is there a time frame for this to be fixed?, Would it be ready for the next release?

    thanks
  5. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 29 Mar 2013 Link to this post

    Hello,

    As this is a new issue it is not included in the planing for our next official release of RadControls.

    We will do our best in order to have a permanent fix for this issue as soon as possible.

    Regards,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. Nikola
    Nikola avatar
    8 posts
    Member since:
    Sep 2014

    Posted 08 Oct 2014 Link to this post

    In .Net System.DateTime doesnt allow null, this is true.

    But you could validate if the user entered a date by simple asking for:

    if(enteredDateTime != DateTime.MinValue)
        do something;
Back to Top
DevCraft banner