Hello,
I have Gantt databinded to Mysql database. When I change task duration in timeline view, and try to save changes to database, task reset to its previous duration. All other changes works (moving task, editing in table), and saves to database. That's when I use Infragistics 13.2. But when i use 11.1, everything is working fine. Is this a bug in 13.2, or I am doing something wrong ?
Little update:
I manage to create workaround, but I don't like it. So there is bug i 2013.2 with AllProperties Duration Member or there is a new property which couldn't be find in 2011.1, which I didn't set i 2013.2.
private void ultraGanttView1_TaskElementDragComplete(object sender, Infragistics.Win.UltraWinGanttView.TaskElementDragCompleteEventArgs e) { DataRowView view = e.Task.BindingListObject as DataRowView; if (view != null) { Task MyTask = Task.FromBytes((byte[])view.Row["AllProperties"]); if (MyTask != null) { MyTask.Duration = e.Task.Duration; view.Row["AllProperties"] = MyTask.Save(); saveTasks(); } } }
Thank you for contacting Infragistics.
Please provide a sample project which reproduces the issue. You can attached the zipped project by selecting the Options tab while editing your post.