I have a RadGridView with a button in each row, and when I click the button, I need to set the corresponding row to be selected. I've seen several examples with something similar to the following:
sender, RoutedEventArgs e)
var senderElement = e.OriginalSource
var row = senderElement.ParentOfType<GridViewRow>();
However when using that, the selected item of the grid never changes. I also did some digging through each of the rows when the grid has a SelectedItem, and IsSelected was false for every row. Is this a bug, or am I missing something? Thanks!