Cancel TaskEdit

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

    Posted 28 Mar 2013 Link to this post

    Hi,

    Is it possible to cancel en Edit after the TaskEditing but before the TaskEditied?

    I want to do this in the case the user has enter a start date that is greater than the end date since this can't be displayed in the Timeline and is not possible.

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

    Posted 29 Mar 2013 Link to this post

    Hello,

    The correct approach of canceling the made changes to the tasks in the RadGanttView control is to use the TaskSaving event which is triggered before the TaskEdited event and in that event set the e.Cancel to true.

    Currently we have an existing issue that could cause some unexpected behavior when using this approach and the issue is logged in our Public Issue Tracker System where you can track its status.

    Kind regards,
    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 29 Mar 2013 Link to this post

    Thanks Vladi,

    This works but as you said, there is the problem when you click outside the cell and the old value is kept

    Do you know when this will be fixed?
  5. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 01 Apr 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.

    Greetings,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top