issue to Export to Excel from datagrid in Silverlight -


I bind the PageGrid Collection viewer to the datagrid. When I export the datagrid to Excel, it only exports data on the watch page, not all the item source (all records).

Pre- My code -

  PagedCollectionView page = new PagedCollectionView (_leads); Pager Source = page; Datagrid.ItemsSource = Page;   

When I exported into Excel, it only exports records from one to the other at a time which is showing. I want to export to all.

How can I do this?

In the top-voting answer to a codegrie exporting a datagrid to CSV.

Comments