(X) Hide this
    • Login
    • Join
      • Say No Bots Generate New Image
        By clicking 'Register' you accept the terms of use .
        Login with Facebook

Simple trick for getting right the DataGrid’s SelectedItem

(0 votes)
0 comments   /   posted by Silverlight Show on Jul 29, 2010
Tags:   datagrid , business-applications , jose-luis-latorre-millas
In this post, Jose Luis Latorre Millas discusses how to set the SelectedItem on the corresponding DataGrid property.

I have been developing a Silverlight business application and one of the problems I have found is the “inconsistency” of the DataGrid… at least of some of its behaviors, when I click on a row, I expect that the SelectedItem (the clicked one) is set on the corresponding DataGrid property.

But it does not. at least not “always”, lets be clear maybe I’m doing something wrong but this randomness on this behavior is driving me crazy, if I click on a Grid row, it should select it and mark the SelectedItem on the corresponding property, right? 


Comments

No comments

Add Comment

Login to comment:
  *      *       
Login with Facebook

Our News on Twitter