I thought this issue was exactly what I was looking for.
Load does cause the data to be re-read from the WCF RIA. However, the grid does not actually display the new data.
A RadDomainDataSource does not have a Clear() method.
I am using a LinqToSqlDomainService and I need to cause the RadGridView to refresh without losing selections, etc.
The data is changed by other apps, so property changed events seem unrelated.
Let me make up an example:
My silverlight app shows a grid that is filled with stock portfolio information from a Entity that was generated using WCF RIA Domain Service (LinqToSQL).
StockDS ctx = new StockDS();
_DS.PageSize = 10;
_DS.DomainContext = ctx;
_grid.DataContext = _DS;
_grid.ItemsSource = ctx.Stock_Stats;
The table on the server is updated from other unknown applications. I have set a timer to call a Refresh method every 60 seconds.
protected override void OnRefresh()
if (_DS != null)
This Load call does cause the service's GetStock_StatsQuery
to be called and the Entity to reload.
However... Even though the data has changed, the grid continues to show the original data. It does not update.
How do I cause the grid to redraw using the new data?