This question is locked. New answers and comments are not allowed.
var ctx =
new
PersonEventsViewContext();
QueryView =
new
QueryableDomainServiceCollectionView<TestObject>(ctx, ctx.GetStupidShitQuery());
QueryView.PropertyChanged += QueryView_PropertyChanged;
QueryView.LoadingData += QueryView_LoadingData;
QueryView.LoadedData += QueryView_LoadedData;
QueryView.Load();
The above code should begin a query, and then fire both the LoadingData and LoadedData events.
void
QueryView_LoadingData(
object
sender, LoadingDataEventArgs args)
{
}
void
QueryView_LoadedData(
object
sender, LoadedDataEventArgs args)
{
FromDate = QueryView.Min(i => i.DateTime).AddMonths(-1);
ThruDate = QueryView.Max(i => i.DateTime + i.Duration).AddMonths(1);
IsBusy =
false
;
}
The LoadingData event *is* fired. The LoadedData event *is not* fired. I have used the IE Developer Tools to confirm that the URL is being invoked, and the data is being returned, and the request exits with a 200 status code.
What's up?
[EDIT]
The code above is from my ViewModel class. I have a RadTimeline bound to QueryView. When I remove the binding, LoadedData is invoked. This bug might actually involve the Timeline. =/ Though it's still really odd