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

[Solved] Refresh the Datasource

1 Answer 153 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Don
Top achievements
Rank 1
Don asked on 27 Oct 2009, 06:06 PM
We need to update the grid and the datasource with some new rows. Currently when we add a new Item to the DataSoruce we cant seem to refresh the Grid. What do you suggest we do to refresh the grid with new Items dynamically added to the DataSource?

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 28 Oct 2009, 05:58 AM
Hello Don,

The grid will be refreshed automatically if your ItemsSource implements INotifyCollectionChanged and CollectionChanged event is raised properly. In all other cases you should call Rebind() for the grid manually!

Regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Don
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or