The project that I am working on right now makes heavy use of Infragistics controls and in particular the UltraWinGrid. There has been a bug in the application for a while now that anytime the grid is refreshed the first row in the grid is also selected.
The weird thing is that in the code grid.Rows.Selected.Count == 0.
I have had other battles to fight so have left one alone. Until now.
It turns out that the row is not selected but is the active row.
There are two options, and I recommend doing both:
Set the ActiveRow appearance so that it does not look like it is selected. Instructions.
After setting a row as selected, make it the active row using grid.ActiveRow = row;
Thanks for posting this tidbit!! I’ve been struggling with this exact same problem for the past 2 weeks, thinking that the little row selector is a liar, not realizing there are 2 different types of rows (at least) in infragistics.
John., How to turn off the active row. As soon as my grid is populated, one of the rows is highlighted and i don’t want that to happen.