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

RadDataPager/RadGridView refresh

2 Answers 127 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jerome
Top achievements
Rank 1
Jerome asked on 07 Jun 2011, 06:17 PM
Trying to get a RadDataPager with a RadGridView to update the list of items when the underlying bound collection changes. I have RadDataPager.Source bound to a property in the viewmodel, and RadGridView bound to PagedSource of the pager. The collection doesn't actually implement any events for changing, so what I'm doing is replacing the value of the bound property with a new collection. I have verified it is a new instance, and that INotifyPropertyChanged is being raised. However the gridview isn't updating until I move to another page, and then move back. I'd expect the datapager to detect the underlying collection has changed, and instruct the gridview that the current page's contents have changed. It doesn't.

What might I be missing?

2 Answers, 1 is accepted

Sort by
0
Jerome
Top achievements
Rank 1
answered on 07 Jun 2011, 11:22 PM
I fixed this. Was my own issue.
0
Almond
Top achievements
Rank 1
answered on 23 Oct 2012, 04:13 PM
Hello Jerome,

Greetings.

Can you share on how did you go about and fixing your issue.

I also have the same problem.

Thanks in advance. :D
Tags
GridView
Asked by
Jerome
Top achievements
Rank 1
Answers by
Jerome
Top achievements
Rank 1
Almond
Top achievements
Rank 1
Share this question
or