Hello,
I'm looking for some guidance on how to proceed. We are using the SL DataGridControl to display query results from a server and are making use of virtualization. Everything works fine when running our application; however, we would like to write scenario-type tests that run these queries from the viewmodel layer. These tests are run without a view and are intended to execute the same code path (from the viewmodel down) that the application takes. For example a simple test might create the viewmodel that is the DataContext for the DataGridControl, set some query parameters, execute an ICommand to run the query and verify a results set.
The issue we're running into is that we are using an AsyncDataSourceProvider to query the server and since we are using virtualization and running headless, the data provider's overrides are never invoked (e.g. BeginExecuteDataQuery, etc.). Is there a way to turn off virtualization or force fetching data in these circumstances? Also, please let me know if I've omitted any crucial information here. Unfortunately I am not the developer who integrated the Xceed controls into our app so I'm picking this up as I go.
Thanks for any assistance you can offer.