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

BorderContianer Background binding

2 Answers 52 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
AMO
Top achievements
Rank 1
AMO asked on 03 Dec 2013, 05:04 AM
Hi ,

I have some dates on the Grid part of the control and the timeline part on the right side contains some time frame values that are plotted .
Now I need to be able to easily distinguish the dates may be by adding a border after a particular set of date values or may be by assigning some background to the rows with the same date value .

I cannot use the background of the EventContainer as I am already using it for some other feature .(to distinquish a task across multiple dates)

Attached image describes this .

What I have done is , added a property in the GanttTask Itemsource .I have modified the control template of Border container and binding this property to the Background of the Border container .

But  , the binding is not happening .
Is there any way that this could be achieved or may be any workaround ?


I am using the 2013 Q1 dlls .

Thanks a lot....

2 Answers, 1 is accepted

Sort by
0
Ventzi
Telerik team
answered on 05 Dec 2013, 12:00 PM
Hi Amo,

Basically you need to combine two of our examples in our online repository / GanttView - the TasksWithDifferentColors and the Baseline example. TasksWithDifferentColors example demonstrates how to create tasks with different colors using custom tasks and properties and the Baseline example shows how to display additional containers in the Timeline section of the RadGanttView control. 

I've prepared and attached a sample project which demonstrates this approach. Please note that you need to use our latest binaries for this project.

Hope this helps.

Regards,
Ventzi
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
AMO
Top achievements
Rank 1
answered on 10 Dec 2013, 05:33 AM
Thanks a lot Ventzi ...That really helped ...
The online reository examples are really helpful ....
Tags
GanttView
Asked by
AMO
Top achievements
Rank 1
Answers by
Ventzi
Telerik team
AMO
Top achievements
Rank 1
Share this question
or