21 Sep 2023 11:08
by Martin Ivanov
Changing the DataContext at runtime, will trigger reset of the collection view in the internal view model of RadDataPager. This sets the PageIndex to -1 just the before the context is actually changed, which leads to wrong value in the view model.
To work this around, instead of using data bindings for the panging properties (PageIndex, PageSize, ItemCount), sync them with the view model, manually in code-behind.