Task-It Video and Blog Post Index

by XAML Team | Comments 3

3 Comments

Jonx

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
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
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

  1.    
      
      
       
  2. (optional, emails won't be shown on public pages)
  3. (optional)
Read more articles by XAML Team - or - read latest articles in Developer Tools