This is a very frustrating bug, and I can't get anywhere with it. Let me try to explain the situation. I've created a brand new project and form to demonstrate the issue. But let me start by saying I have 20+ machines I can replicate this bug, but not on any of my development machines. That alone makes this such a difficult situation to debug.
Load a grid with a bunch of data.
After it first loads, scroll down more than one "page" worth of data.
click on a row, and suddenly the grid will "jump" or "shift" back to the top. The focus will be set to the row position equal to where you clicked. So if I'm showing 10 records at a time, based on the size of the overall grid, and the height of the rows. If I scroll so the 20th row is at top, and click on the 22nd row(2 from the top), it will jump to the 2nd row and set focus there.
So brand new form, brand new project with a button and gridview on it. Then click event of the button has this code
FYI I'm currently using 2012.3.1017.20
Again, I can't get this to fail for me on my machine, but I certainly have many client machines in which it fails.
Any help would be much appreciated. Thanks in advance.
Load a grid with a bunch of data.
After it first loads, scroll down more than one "page" worth of data.
click on a row, and suddenly the grid will "jump" or "shift" back to the top. The focus will be set to the row position equal to where you clicked. So if I'm showing 10 records at a time, based on the size of the overall grid, and the height of the rows. If I scroll so the 20th row is at top, and click on the 22nd row(2 from the top), it will jump to the 2nd row and set focus there.
So brand new form, brand new project with a button and gridview on it. Then click event of the button has this code
FYI I'm currently using 2012.3.1017.20
list = new List<
DateTime
>();
DateTime date = DateTime.Now;
for (int i = 0; i < 10000; i++)
{
list.Add(date.AddDays(i));
}
grid.DataSource = list;
grid.BestFitColumns();
public List<
DateTime
> list { get; set; }
Again, I can't get this to fail for me on my machine, but I certainly have many client machines in which it fails.
Any help would be much appreciated. Thanks in advance.