Hey all,
I am writing an installer. It has a list of commands to execute and I need to show the progress. I have a quite complex application that I am really using, so I created a sample app. At first I was using the regular .NET 4 WPF DataGrid, but the .NET 4 DataGrid just wan't behaving stable. See my recent post on MSND: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/e4eeb10b-8b27-4b26-a435-baa0ae4ea47a/
Anyway, my company has licensed Telerik, I was told, so I thought I would try the Telerik GridView.
I replaced the DataGrid with the Telerik GridView but I can't really even get started because the SelectedItem is not changing when the bound value changes. It is a readonly bound value and I have it set to mode=oneway. While debugging the NotifyPropertyChanged("CurrentCommand") is properly called. This is one part that was working fine with the DataGrid.
Here is my sample app: DataGridExecutionListWithTelerik.zip
My overall goal is to Execute each command. I must also do the following:
1. Show a progress spinner (which isn't in my sample but is working in my actual app) on the current item.
2. There are so many commands, there is scrolling. So when it reaches the commands not visible, the GridView should scroll (I am using ScrollIntoView). Then I need current command inprogress to always be visible. When finished the item should stay scrolled to the bottom.
I need the SelectedItem to change when it changes in my ViewModel so the event fires so the ScrollIntoView function can be called.
I am writing an installer. It has a list of commands to execute and I need to show the progress. I have a quite complex application that I am really using, so I created a sample app. At first I was using the regular .NET 4 WPF DataGrid, but the .NET 4 DataGrid just wan't behaving stable. See my recent post on MSND: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/e4eeb10b-8b27-4b26-a435-baa0ae4ea47a/
Anyway, my company has licensed Telerik, I was told, so I thought I would try the Telerik GridView.
I replaced the DataGrid with the Telerik GridView but I can't really even get started because the SelectedItem is not changing when the bound value changes. It is a readonly bound value and I have it set to mode=oneway. While debugging the NotifyPropertyChanged("CurrentCommand") is properly called. This is one part that was working fine with the DataGrid.
Here is my sample app: DataGridExecutionListWithTelerik.zip
My overall goal is to Execute each command. I must also do the following:
1. Show a progress spinner (which isn't in my sample but is working in my actual app) on the current item.
2. There are so many commands, there is scrolling. So when it reaches the commands not visible, the GridView should scroll (I am using ScrollIntoView). Then I need current command inprogress to always be visible. When finished the item should stay scrolled to the bottom.
I need the SelectedItem to change when it changes in my ViewModel so the event fires so the ScrollIntoView function can be called.