This is a migrated thread and some comments may be shown as answers.

RadGridView with a BindingList as the DataSource

1 Answer 124 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Chris Castle
Top achievements
Rank 1
Chris Castle asked on 01 Nov 2007, 06:56 AM
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.

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 01 Nov 2007, 12:40 PM
Hi Chris Castle,

Please open a support ticket and we will try to investigate this issue in details.

All the best,
Jack
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
GridView
Asked by
Chris Castle
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or