This is a migrated thread and some comments may be shown as answers.

Cancel TaskEdit

3 Answers 63 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
Ron
Top achievements
Rank 1
Ron asked on 28 Mar 2013, 06:52 PM
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

3 Answers, 1 is accepted

Sort by
0
Accepted
Vladi
Telerik team
answered on 29 Mar 2013, 01:53 PM
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.

0
Ron
Top achievements
Rank 1
answered on 29 Mar 2013, 09:03 PM
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?
0
Vladi
Telerik team
answered on 01 Apr 2013, 06:57 AM
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.

Tags
GanttView
Asked by
Ron
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Ron
Top achievements
Rank 1
Share this question
or