Clicking on a row in a grid produces the desired result...the SelectionChanged event is fired and grid.CurrentRow.DataBoundItem is the correct item. However, using the down/up arrow to change the selection on the grid doesn't work as expected: The SelectionChanged event is actually fired twice, both times grid.CurrentRow.DataBoundItem is actually the previously selected item.
Say the grid has 2 items. If I click on the first row, SelectionChanged fires with the first item as the DataBoundItem. Then, if I press the down arrow, SelectionChanged fires twice, again both times with the first item as the DataBoundItem.
~DuckLeg
|
|
/|\
Say the grid has 2 items. If I click on the first row, SelectionChanged fires with the first item as the DataBoundItem. Then, if I press the down arrow, SelectionChanged fires twice, again both times with the first item as the DataBoundItem.
~DuckLeg
|
|
/|\