This question is locked. New answers and comments are not allowed.
Hi,
I need a xlsx-export (Excel 2007/2010).
Unfortunately this is not provided by telerik-GridView. So I try to do this on server side.
Additionally, I'm working with paged data (around 5'000 rows - depends on current filter)
So what I do:
- using DomainDataSource and bind this to GridView
- provide server side filtering and sorting (see blog "PureServersideFiltering")
Now I want export my filtered and sorted data.
An example:
- user X set a filter (on client side): "name='White' and firstname='Peter'"
- the sort order is "name descending"
This is done by adding some FilterDescriptors and SortDescriptors to the DomainDataSource-object (and call DomainDataSource.Load())
Now the user wants to export EXACTLY the result set seen in GridView-control - but as xlsx.
Is there a way to get the DomainDataSource-filter and sort information in my domainService-class (server side)?
Maybe this filter-information is accessible in the ObjectContext (until now, i didn't find a solution)?
Thanks for your help
Berthold
I need a xlsx-export (Excel 2007/2010).
Unfortunately this is not provided by telerik-GridView. So I try to do this on server side.
Additionally, I'm working with paged data (around 5'000 rows - depends on current filter)
So what I do:
- using DomainDataSource and bind this to GridView
- provide server side filtering and sorting (see blog "PureServersideFiltering")
Now I want export my filtered and sorted data.
An example:
- user X set a filter (on client side): "name='White' and firstname='Peter'"
- the sort order is "name descending"
This is done by adding some FilterDescriptors and SortDescriptors to the DomainDataSource-object (and call DomainDataSource.Load())
Now the user wants to export EXACTLY the result set seen in GridView-control - but as xlsx.
Is there a way to get the DomainDataSource-filter and sort information in my domainService-class (server side)?
Maybe this filter-information is accessible in the ObjectContext (until now, i didn't find a solution)?
Thanks for your help
Berthold