Hey Ross - It makes total sense, which has never been the issue, but I don't know the code to use to actually select the 1st item programmatically.
When the user fires off a filter, obviously my view changes, displaying the first 10 items in my filtered collection (RadDataPager.PageSize = 10). I'm using a dataform to show details of the items in my RadGridView, and I'd like to auto-select the 1st item in this collection. In Codebehind, this would be simple:
sender, Telerik.Windows.Controls.GridViewSortedEventArgs e)
(GV1.Items.Count > 0)
That's obviously one way to do it. I'd like to avoid code behind, so I'm hoping to do this in my ViewModel. I'm successfully capturing the 'Sorted','Filtered' and 'SelectedCellsChanged' events. I have a property in my VM named 'SelectedEmployee' that's bound to my gridview & dataform. When somebody Sorts/Filters, I'd like to set my SelectedEmployee to the 1st item in my newly filtered/sorted list. How do I do this? It would be something like SelectedEmployee = (Model.Employee)EmployeeQCV.Items. Obviously that line doesn't work, but I don't know what to put in place of the (Model.Employee)EmployeeQCV.Items.
Thanks for your help.