SelectionChanged and IsSelected Trigger

Aug 4, 2009 at 10:08 PM

Hello, I've got an annoying problem with the SelectionChanged event and the IsSelected Trigger on a DataGridRow.

When a user selects a row and SelectionChanged is fired I ask the host server for data relating to that row (master/detail), the server returns with the data (after a short delay), the associated data displays THEN the IsSelected Trigger fires.

So essentially the user selects a row, there is a pause while the server is queried for data, the data returns and displays, then the row appears selected!

Not a huge deal, it's just a strange experience for the user. Unfortunately I can't do an asnyc call to the server. Ideally I want the Trigger to fire first,  then I want the SelectionChanged event to fire, which makes a lot more sense.

Any ideas?

Aug 14, 2009 at 1:44 PM

Why can't you make an async call the the server?