Is there a way to set up the ultrawingrid (on a windows form, vb.net 2.0, windows xp) so that the active row and selected row are always the same? It is confusing to my users when a row is highlighted and then they click on another row and that becomes the active row, but it is not selected.
Thanks,
I had a similar problem, I only wanted the user to see the selected row hilighted (i.e., very easy to end up with 1 row selected and a different row active).
Originally I just set ActiveRow to null in _AfterSelectChange. Later I found this caused a NullReferenceException when I tried to group rows by a column (took me awhile to figure out the culprit).
My Solution: Now I'm setting .ActiveRow = .Selected.Rows[0]. in _AfterSelectChange. I didn't want to convert everything to use the ActiveRow, because I foresee "them" requesting the ability to perform actions on multiple rows in the future.
If you only want the user to be dealing with one row at a time, then what I usually do is turn off row selection entirely and then just always deal with the active row.
grid.DisplayLayout.Override.SelectTypeRow = None