This is a migrated thread and some comments may be shown as answers.

Dynamically PivotGrid within Web Service

3 Answers 47 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
mario
Top achievements
Rank 1
mario asked on 13 Aug 2014, 10:10 AM
Hi,
I need to create a RadPivotGrid dynamically and export it.
I have an export scheduler that run in background and has to generate an excel of a PivotGrid an send it by email.
I have to do this within a Web Service but I don't know if it is possible.

Any suggestion?

Thanks a lot!

3 Answers, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 18 Aug 2014, 08:24 AM
Hi Mario,

I am afraid that exporting with client-side binding is not supported, RadGrid should be bound server-side. Please make sure you are using server-side binding if you need to use the export feature.

Regards,
Kostadin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
mario
Top achievements
Rank 1
answered on 20 Aug 2014, 07:19 AM
Thanks for the answer.

The fact is that we are in a Web Service environment. I'd like to generate the pivot and use the exportToExcel to get byte of generated excel within a web service method, the pivot is bound "server-side" in the web service method.

Any idea to get this working?
0
Kostadin
Telerik team
answered on 22 Aug 2014, 12:55 PM
Hello Mario,

I am afraid that the scenario which you are trying to achieve is not possible. The reason is that you could not create and get the exported output in the Web Service.

Regards,
Kostadin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
PivotGrid
Asked by
mario
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
mario
Top achievements
Rank 1
Share this question
or