Task-It Video and Blog Post Index Thursday, May 06, 2010 by XAML Team | Comments 3 Email to a friend Task-It is a sample app (for task managment) that I've developed in Silverlight 4 using Telerik's RadControls for Silverlight. As the video and blog post series related to this application continues to grow, it's about time to post an index to the resources. Keep an eye out for new posts, and follow me on Twitter (@rwozniak) if you'd like to be notified when new videos and posts are added! Videos Intro to Task-It Teaser Video Task-It Webinar - Building a real-world application with Rad Controls for Silverlight 4 Populating the RadGridView with WCF RIA Service data Using RowDetails in RadGridView Using the RadTransitionControl in Task-It Populating the RadTreeView with WCF RIA Service data Using ItemTemplateSelector in RadTreeView for Silverlight Populating the RadScheduler with WCF RIA Service data Blog Posts Introducing Task-It, a real-world application using RadControls for Silverlight 4 Task-It source code Task-It Webinar source code MVVM in Task-It Strongly typed property changed notification in Task-It Commands in Task-It - Part 1 Commands in Task-It - Part 2 Handling data load errors on the client in Task-It Events in Task-It - Part 1 Events in Task-It - Part 2 Events in Task-It - Part 3 MEF to the rescue in Task-It Dynamic XAP loading with MEF in Task-It - Part 1 Maintaining page state with MEF Using the RadTransitionControl in Task-It Email to a friend Posted in: silverlight-4 radcontrols-for-silverlight silverlight taskit 3 Comments Jonx 10 Jun 2010 Hello Ross, I'm trying to apply a telerik theme to task-it. I added the following : public MainPage() { StyleManager.ApplicationTheme = new Windows7Theme(); InitializeComponent(); Loaded += OnLoaded; } The application start page loads, but then when I try to open any other page I get an exception... What would be the correct way to use a telerik theme in task-it? If any... Thanks... ps: past of several text lines as comments in chrome does not work. all the lines appear one over the other. à System.Windows.Navigation.PageResourceContentLoader.EndLoad(IAsyncResult asyncResult) à System.Windows.Navigation.NavigationService.ContentLoader_BeginLoad_Callback(IAsyncResult result) Caused by: XAML at location '/TaskIt.Modules.Tasks;component/Tasks.dyn.xaml' could not be loaded. à System.Windows.Navigation.PageResourceContentLoader.EndLoad(IAsyncResult asyncResult) à System.Windows.Navigation.NavigationService.ContentLoader_BeginLoad_Callback(IAsyncResult result) Caused by: XAML at location '/TaskIt.Modules.Tasks;component/Tasks.dyn.xaml' could not be loaded. à System.Windows.Navigation.PageResourceContentLoader.EndLoad(IAsyncResult asyncResult) à System.Windows.Navigation.NavigationService.ContentLoader_BeginLoad_Callback(IAsyncResult result) Caused by: XAML at location '/TaskIt.Modules.Tasks;component/Tasks.dyn.xaml' could not be loaded. à System.Windows.Navigation.PageResourceContentLoader.EndLoad(IAsyncResult asyncResult) à System.Windows.Navigation.NavigationService.ContentLoader_BeginLoad_Callback(IAsyncResult result) Caused by: XAML at location '/TaskIt.Modules.Tasks;component/Tasks.dyn.xaml' could not be loaded. à System.Windows.Navigation.PageResourceContentLoader.EndLoad(IAsyncResult asyncResult) à System.Windows.Navigation.NavigationService.ContentLoader_BeginLoad_Callback(IAsyncResult result) Caused by: XAML at location '/TaskIt.Modules.Tasks;component/Tasks.dyn.xaml' could not be loaded. à System.Windows.Navigation.PageResourceContentLoader.EndLoad(IAsyncResult asyncResult) à System.Windows.Navigation.NavigationService.ContentLoader_BeginLoad_Callback(IAsyncResult result) Ross 15 Jun 2010 Hello Jonx, A couple of comments about what you are trying to accomplish: I'm guessing that the reason you are getting an error is because you have not added a reference to the Telerik.Windows.Themes.Windows7.dll. Even if you do add that reference however, it will not really change much if anything in the appearance of the app. The reason is that I did not actually use a theme when I created the look for Task-It. I simply used custom styling, all of which currently resides in the Assets/Styles folder (Styles.xaml) under the TaskIt project. These styles will override any them that you set on the app. If you want to change the look of the app, you would either need to make modifications to the custom styles, or remove them from Styles.xaml. Ross fred 15 Nov 2010 Hi I try running taskIt but obtain some error during running System.Windows.Data Error: BindingExpression path error: 'ResourcePageLinkTasks' property not found on 'TaskIt.ViewModels.MainPageViewModel'... System.Windows.Data Error: BindingExpression path error: 'NavigateCommand' property not found on 'TaskIt.ViewModels.MainPageViewModel' 'Task... System.Windows.Data Error: BindingExpression path error: 'ModuleTasks' property not found on 'TaskIt.ViewModels.MainPageViewModel' 'TaskIt.V.... ... System.Windows.Data Error: ConvertBack cannot convert value 'TaskIt.Modules.Tasks.ViewModels.ProjectsTreeViewNodeModel' (type 'TaskIt.Modules.Tasks.ViewModels.ProjectsTreeViewNodeModel'). BindingExpression: Path='SelectedItem' DataItem='TaskIt.Modules.Tasks.ViewModels.TreeViewModel' (HashCode=66803900); target element is 'Telerik.Windows.Controls.RadTreeView' (Name='tvwTree'); target property is 'SelectedItem' (type 'System.Object').. System.InvalidOperationException: Can't convert type TaskIt.Modules.Tasks.ViewModels.ProjectsTreeViewNodeModel to type System.ServiceModel.DomainServices.Client.Entity. at MS.Internal.Data.DefaultValueConverter.Create(Type sourceType, Type targetType, Boolean targetToSource) at MS.Internal.Data.DynamicValueConverter.EnsureConverter(Type sourceType, Type targetType) at MS.Internal.Data.DynamicValueConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture) at System.Windows.Data.BindingExpression.UpdateValue(). any idea what is it ? Thanks fred Comments Comment Apply CSS Class RadEditor hidden textarea RadEditor - please enable JavaScript to use the rich text editor. Name Click to add Email Click to add (optional, emails won't be shown on public pages) Your URL Click to add (optional) Read more articles by XAML Team - or - read latest articles in Developer Tools
Jonx 10 Jun 2010 Hello Ross, I'm trying to apply a telerik theme to task-it. I added the following : public MainPage() { StyleManager.ApplicationTheme = new Windows7Theme(); InitializeComponent(); Loaded += OnLoaded; } The application start page loads, but then when I try to open any other page I get an exception... What would be the correct way to use a telerik theme in task-it? If any... Thanks... ps: past of several text lines as comments in chrome does not work. all the lines appear one over the other. à System.Windows.Navigation.PageResourceContentLoader.EndLoad(IAsyncResult asyncResult) à System.Windows.Navigation.NavigationService.ContentLoader_BeginLoad_Callback(IAsyncResult result) Caused by: XAML at location '/TaskIt.Modules.Tasks;component/Tasks.dyn.xaml' could not be loaded. à System.Windows.Navigation.PageResourceContentLoader.EndLoad(IAsyncResult asyncResult) à System.Windows.Navigation.NavigationService.ContentLoader_BeginLoad_Callback(IAsyncResult result) Caused by: XAML at location '/TaskIt.Modules.Tasks;component/Tasks.dyn.xaml' could not be loaded. à System.Windows.Navigation.PageResourceContentLoader.EndLoad(IAsyncResult asyncResult) à System.Windows.Navigation.NavigationService.ContentLoader_BeginLoad_Callback(IAsyncResult result) Caused by: XAML at location '/TaskIt.Modules.Tasks;component/Tasks.dyn.xaml' could not be loaded. à System.Windows.Navigation.PageResourceContentLoader.EndLoad(IAsyncResult asyncResult) à System.Windows.Navigation.NavigationService.ContentLoader_BeginLoad_Callback(IAsyncResult result) Caused by: XAML at location '/TaskIt.Modules.Tasks;component/Tasks.dyn.xaml' could not be loaded. à System.Windows.Navigation.PageResourceContentLoader.EndLoad(IAsyncResult asyncResult) à System.Windows.Navigation.NavigationService.ContentLoader_BeginLoad_Callback(IAsyncResult result) Caused by: XAML at location '/TaskIt.Modules.Tasks;component/Tasks.dyn.xaml' could not be loaded. à System.Windows.Navigation.PageResourceContentLoader.EndLoad(IAsyncResult asyncResult) à System.Windows.Navigation.NavigationService.ContentLoader_BeginLoad_Callback(IAsyncResult result)
Ross 15 Jun 2010 Hello Jonx, A couple of comments about what you are trying to accomplish: I'm guessing that the reason you are getting an error is because you have not added a reference to the Telerik.Windows.Themes.Windows7.dll. Even if you do add that reference however, it will not really change much if anything in the appearance of the app. The reason is that I did not actually use a theme when I created the look for Task-It. I simply used custom styling, all of which currently resides in the Assets/Styles folder (Styles.xaml) under the TaskIt project. These styles will override any them that you set on the app. If you want to change the look of the app, you would either need to make modifications to the custom styles, or remove them from Styles.xaml. Ross
fred 15 Nov 2010 Hi I try running taskIt but obtain some error during running System.Windows.Data Error: BindingExpression path error: 'ResourcePageLinkTasks' property not found on 'TaskIt.ViewModels.MainPageViewModel'... System.Windows.Data Error: BindingExpression path error: 'NavigateCommand' property not found on 'TaskIt.ViewModels.MainPageViewModel' 'Task... System.Windows.Data Error: BindingExpression path error: 'ModuleTasks' property not found on 'TaskIt.ViewModels.MainPageViewModel' 'TaskIt.V.... ... System.Windows.Data Error: ConvertBack cannot convert value 'TaskIt.Modules.Tasks.ViewModels.ProjectsTreeViewNodeModel' (type 'TaskIt.Modules.Tasks.ViewModels.ProjectsTreeViewNodeModel'). BindingExpression: Path='SelectedItem' DataItem='TaskIt.Modules.Tasks.ViewModels.TreeViewModel' (HashCode=66803900); target element is 'Telerik.Windows.Controls.RadTreeView' (Name='tvwTree'); target property is 'SelectedItem' (type 'System.Object').. System.InvalidOperationException: Can't convert type TaskIt.Modules.Tasks.ViewModels.ProjectsTreeViewNodeModel to type System.ServiceModel.DomainServices.Client.Entity. at MS.Internal.Data.DefaultValueConverter.Create(Type sourceType, Type targetType, Boolean targetToSource) at MS.Internal.Data.DynamicValueConverter.EnsureConverter(Type sourceType, Type targetType) at MS.Internal.Data.DynamicValueConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture) at System.Windows.Data.BindingExpression.UpdateValue(). any idea what is it ? Thanks fred