Me Again :)
I have figured out how to delete my items:
DataSet newds = (DataSet)radGanttView1.DataSource;
List<int> newids = (from DataRow dr in newds.Tables["Tasks"].Rows select int.Parse(dr["ID"].ToString())).ToList();
public void DeleteTask(List<int> ExistingIDs)
List<> result = (from i in _db.where !ExistingIDs.Contains(i.ID) && i.IsDeleted == false select i).ToList();
foreach (tasktoDelete in result)
tasktoDelete.IsDeleted = true;
catch (Exception se)
string error = se.Message;
Now this brought another interesting Issue to my attention. In Project Management, Linking Items most of the times creates dependencies, and Based on the Type of link There is certain things that need to happen to the relevant Child/Sibling Items i.e.
If an Item is Linked FinishToStart and I modify the Start Item's End Date, The Linked Childs StartDate needs to be moved on.
Now I can Handle this on the ItemChanged Event, But how can I easily pickup/get the relevant "Linked Items" ?