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.
Hello divac,
Thank you for your response.
This forum thread is about the same issue as the last case you mentioned. Because of this, I recommend waiting until that case is resolved.
Hello Dave, I already opened 2 cases, no CAS-135380-K4C4L3 and CAS-135024-S7P5F6. Within this last case, you can find rar file with code, sql table and video. If you want, I can attach it here, also.