Is it possible to bind a RadGanttView to a list of other items? (a custom class that exposes certain properties/methods)
The reason I ask is because we have 6 silverlight apps and use mvvm. We currently have 1 assembly that stores the view models. To expose a collection of GanttTasks, we would have to reference Telerik assemblies in the view model assembly, increasing the size of the xaps in all projects even if they don't use a GanttView. It also kinda breaks mvvm in that the view model is required to know that the View needs the GanttTask class. (the view model should not be dependant on Telerik)
Its not a big issue, because I can create a separate assembly for the view models needed for the gantt, or even put them in the silverlight project. I was just wondering if it is possible to get by without using the GanttTask class.
11 Answers, 1 is accepted
Currently you can use your own objects which need to implement the IGanttTask interface which is also in the GanttView assembly. We are planning to add data mapping feature which will allow you to use arbitrary objects and just to specify property mappings for the properties we need like Title, Start, End, etc.
This feature is planned for the 2012 Q2 SP1 release so it should be developed shortly after the Q2 release at the middle of June. Hope this time frame is OK for you.
the Telerik team
i am trying to using that tutorial you uploaded by im getting an error saying GanttviewDBEntities assembly is missing. do you have any idea what i can do to solve this problem
Is there anyway where i can add my own property on xaml gantt view model and in gantt task object
I'm not sure I fully understand what you need to do, but to add custom properties to the GanttTasks you just need to inherit from them.
Hope this helps.
the Telerik team
I got new Column called a Define, but now to display value in a cell i need to bind to Title,what other property i can use to bind this in xaml
GanttTask contain three elements startdate,endDate and Title and xaml got this properties UniqueID,Title,Start,End,Duration,Progress,IsMilestone and description
i have create a column but now the
value that i enter in that column doesnt diplay until i bind it to this xaml
1. what are other xaml properties that i can use except those i just mention
2.is there any way i can make GanttTask have more that 3 elements
Miroslav, you mentioned that Q2 release will contain mapping feature.
I checked release notes of Q2 and found no information about such a feature.
Could you tell whether mapping is implemented in Q2 version?
We decided to postpone this feature as there are some more important features we have to work on for the GanttView control. Most probably the feature will not be ready even for the 2012 Q3 release.
All the best,
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
I noticed that you posted solution that shows example of inheritance from GanttTask class.
Could you post similar solution that shows how to prepare completely custom object that implements IGanttTask?
There is no such example on this page (or maybe there is?), and I receive persistent error while trying to implement this interface (KeyNotFoundException)
Thank you in advance