Dynamically PivotGrid within Web Service

4 posts, 0 answers
  1. mario
    mario avatar
    2 posts
    Member since:
    Oct 2011

    Posted 13 Aug 2014 Link to this post

    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!
  2. Kostadin
    Admin
    Kostadin avatar
    1708 posts

    Posted 18 Aug 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. mario
    mario avatar
    2 posts
    Member since:
    Oct 2011

    Posted 20 Aug 2014 in reply to Kostadin Link to this post

    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?
  5. Kostadin
    Admin
    Kostadin avatar
    1708 posts

    Posted 22 Aug 2014 Link to this post

    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.

     
Back to Top