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

Items Relations problem

3 Answers 104 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
Ivan
Top achievements
Rank 1
Ivan asked on 08 May 2012, 09:17 AM
There is a problem with items relations, it seems that control only support Finsh to Start relations. 

var firstTask = new GanttTask( date, date.AddHours(15), "task 1");
var secondTask = new GanttTask(date.AddDays(1), date.AddDays(1).AddHours(15), "task 2");

firstTask.SetRelations( new List<Relation>() { new Relation(){Task = secondTask}});

This code is from documentation, but if we put Type like this, there is no change on ganttview there is code for other types of relationships but it is not working. Please help.

firstTask.SetRelations( new List<Relation>() { new Relation(){Task = secondTask, Type = RelationType.StartStart});



3 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 08 May 2012, 12:49 PM
Hello Ivan,

In the current version of the GanttView (CTP) relations type doesn't work, but the feature is already implemented and will be included in the 2012 Q2 version of RadControls for Silverlight which is expected in the beginning of June.

Hope this helps.

Greetings,
Miroslav Nedyalkov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Todd
Top achievements
Rank 1
answered on 30 May 2012, 07:55 PM
Will this update all fix the issue were if you have a relationship to two items with the same duration the relationship line gets a messed up? See attached picture.
0
Miroslav Nedyalkov
Telerik team
answered on 04 Jun 2012, 01:00 PM
Hi Todd,

We fixed a lot of issues connected with the relations and needed to check if this concrete problem is fixed or not and it seems that it is not resolved yet. We will fix for the official version of the GanttView which is expected for the 2012 Q3 release, but most probably the fix will be ready earlier and will be included in one of the internal builds. You could track the progress of the item in PITS.

Kind regards,
Miroslav Nedyalkov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GanttView
Asked by
Ivan
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Todd
Top achievements
Rank 1
Share this question
or