how to do multiple pdf exports

8 posts, 0 answers
  1. Doug
    Doug avatar
    73 posts
    Member since:
    Aug 2014

    Posted 09 Dec 2016 Link to this post

    I have a grid I made and users can export it into pdf via a button.
    what they want is to select a number of users that each make their own pdf and to just export all their grids into pdf's into a zip.

    is there any way to do this?

    I could possibly make each grid on the page at one time but how to export them all at once into separate pdf's
  2. Kostadin
    Admin
    Kostadin avatar
    1733 posts

    Posted 14 Dec 2016 Link to this post

    Hi Doug,

    I am afraid exporting of multiple pdf document on a single request is not supported. In case you need to export multiple RadGrids in a single Pdf document you can use the approach from the following code library.

    Regards,
    Kostadin
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Doug
    Doug avatar
    73 posts
    Member since:
    Aug 2014

    Posted 14 Dec 2016 Link to this post

    is this not similar to what I want? or is the zip stream limited to only 1 pdf?
    http://www.telerik.com/forums/zip-of-pdf-document-doesn-t-work
  4. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1924 posts

    Posted 19 Dec 2016 Link to this post

    Hi Doug,

    You should be able to add multiple files to the ZipArhive as demonstrated in the following forum thread:

    Best Regards,
    Konstantin Dikov
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  5. Doug
    Doug avatar
    73 posts
    Member since:
    Aug 2014

    Posted 31 Jan Link to this post

    I am able to get the GridExporting event to write 1 of the files to a server folder.
    but then the export opens in a dialog box on the window.
    is there a way to get the steam without a dialog window opening on the server and without redirecting?

    even if I could call back into a function from the GridExporting event sub to continue the exports.

    or is there any other method to save a RadGrid to a server file(s)
    maybe the only way might be to call into a popup window that cycles through a querystring list of exports and it does each one at a time, redirects back to itself with a shorter list, until it is done.

    my end goal is to export 1+ gridview forms into files under a folder and zip them up to deliver to the client.
  6. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1924 posts

    Posted 03 Feb Link to this post

    Hello Doug,

    The easiest option would be to use an external button for initiating the export, but with enabled AJAX (wrapping it within a RadAjaxPanel for example). This will prevent the user to receive the exported file.


    Best Regards,
    Konstantin Dikov
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  7. Doug
    Doug avatar
    73 posts
    Member since:
    Aug 2014

    Posted 07 Feb in reply to Konstantin Dikov Link to this post

    I am unsure how you mean to do an external button and ajax requests.
    any small sample or example?

    I tried the server redirect and the page will timeout after it does about 150 file exports.
    (method I used was save in database the request and list of reports to make for that request and it loops each one at a time and flags them as done, then redirects back to itself to continue.)

    I would like to request an update to Telerik Radgrid to be able to export those file types (doc, excel, pdf, csv) to a file on the server.
    how can I make this change request?
  8. Eyup
    Admin
    Eyup avatar
    3095 posts

    Posted 10 Feb Link to this post

    Hi Doug,

    I'm afraid this functionality is not provided by RadGrid. You can log this requirement as a feature request in our improvements portal:
    http://feedback.telerik.com/Project/108


    Regards,
    Eyup
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top