I am new to the radGridView. I usually write web applications, but now I am writing a winForms application. I decided to use the Telerik tools because of my experience with them on web apps.
So here is what I am doing...
I have a radGridView that has a BibdingList<People> for the datasource. This works great in the grid. I have some fields on the page that let you add a Person to the List. It correctly gets added to the grid, but the grid now has a vertical scrollbar even though there are only two items in it. There is also only one item visible, but I can scroll up to see the other row. The grid is sized big enough to show about 40 items.
I added this code radGridView1.GridElement.ScrollToRow(0); to force it to scroll ot the top. This works except that every time you add an item to the list, you see the vertical scrollbar flash on then off really fast because of the way the item is added then the code forcing it to the top.
I am sure there is a property that I have set wrong, but I am at a loss for where to go.
So here is what I am doing...
I have a radGridView that has a BibdingList<People> for the datasource. This works great in the grid. I have some fields on the page that let you add a Person to the List. It correctly gets added to the grid, but the grid now has a vertical scrollbar even though there are only two items in it. There is also only one item visible, but I can scroll up to see the other row. The grid is sized big enough to show about 40 items.
I added this code radGridView1.GridElement.ScrollToRow(0); to force it to scroll ot the top. This works except that every time you add an item to the list, you see the vertical scrollbar flash on then off really fast because of the way the item is added then the code forcing it to the top.
I am sure there is a property that I have set wrong, but I am at a loss for where to go.