How to highlight selected row in Grid?


I was able to use

  •   Models.Mark10Sqlexpress04.InMst SelectedInMst { get; set; }
    

to update child Tabs ( TR Items and Serial Items).
After checking the child tabs, I clicked on TR Hearder tab again, the highlight was gone

You might need to bind Value property of the DataGrid to a Page property to preserve the selected item. For example:

image