views:

19

answers:

0

I am using an export utility to to export the contents of a datagrid in csv format.

When the page loads the grids load all data. The grids have datapagers.

When the user filter's, I want to be able to export the data using a click event.

I have a grid in the background that I am loading on the click event then exporting the contents but I'm still not getting all of the data.

How can I reload the domain datasource, then export all of the filtered results?

The following code is still only returning a portion of the data even though it's a larger set than the paged data.

Contract_Profile2DomainDataSource.Load()
    ExpGrid.ItemsSource = Contract_Profile2DomainDataSource.Data
    Export(dg:=ExpGrid)