I have been trying for several days to get this working with the latest internal build (2012.1.402.1050) and have been unsuccessful. I have a simple project based on the project sample provided in this thread. There are 2 DLL directories... one pointing to the Production DLLs and one to the Hotfix Dlls. When pointing to the Production DLLs, the project runs fine. When pointing to the Hotfix DLLs, the project errors on including the resources. Even when commenting out the metro and scrollbar resources, the project compiles, but loads an empty page.
Hopefully I am just overlooking an obvious issue as it appears the demo is running off a later build than the production release (i.e. the popup issue with controls is now fixed from the first hotfix).
I am unable to upload the project, but here are key files:
MainPage.xaml.cs
ViewModel.cs
namespace SilverlightApplication8
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Telerik.Windows.Controls.GanttView;
using Telerik.Windows.Controls.Scheduling;
using Telerik.Windows.Core;
public class ViewModel : PropertyChangedBase
{
public ViewModel()
{
var date = DateTime.Now;
var iterationTask = new GanttTask { Start = date, End = date.AddDays(2), Title = "First Iteration" };
var nextIterationTask = new GanttTask { Start = date.AddDays(7), End = date.AddDays(9), Title = "Second Iteration" };
var ganttAPI = new GanttTask { Start = date, End = date.AddHours(16), Title = "Design public API" };
var ganttDemos = new GanttTask { Start = date.AddHours(18), End = date.AddDays(1), Title = "Gantt Demos" };
var ganttRendering = new GanttTask { Start = date.AddDays(1).AddHours(5), End = date.AddDays(2), Title = "Gantt Rendering" };
var milestone = new GanttTask { Start = date.AddDays(2), End = date.AddDays(2).AddHours(1), Title = "Review", IsMilestone = true };
ganttAPI.SetRelations(new List<
Relation
> { new Relation { Task = ganttDemos } });
ganttDemos.SetRelations(new List<
Relation
> { new Relation { Task = ganttRendering } });
iterationTask.SetChildren(new ObservableCollection<
GanttTask
> { ganttAPI, ganttDemos, ganttRendering, milestone });
var gTasks = new ObservableCollection<
GanttTask
> {iterationTask, nextIterationTask};
Tasks = gTasks;
VisibleRange = new VisibleRange(date, date.AddDays(9));
}
private IEnumerable<
GanttTask
> tasks;
public IEnumerable<
GanttTask
> Tasks
{
get
{
return tasks;
}
set
{
tasks = value;
OnPropertyChanged(() => Tasks);
}
}
private VisibleRange visibleRange;
public VisibleRange VisibleRange
{
get
{
return visibleRange;
}
set
{
if (visibleRange == value) return;
visibleRange = value;
OnPropertyChanged(() => VisibleRange);
}
}
}
}
Also attached a screenshot of the directory structure. Please let me know if you need more information to reproduce the issue.
Thanks,
Philip