I have a RadGridView bound to a collection within my ViewModel. That RadGridView specifies a RowDetailsTemplate. The RowDetailsTemplate is another XAML file. From the RowDetailsTemplate XAML file I can bind to members of the collection type, but cannot bind to members of the original ViewModel.
How can this be achieved?
I've tried setting the DataContext of the particular control to the ViewModel I want to bind to, but this does not work. Any help would be greatly appreciated.