File exported to serverside but not clientside

2 posts, 0 answers
  1. Kunal
    Kunal avatar
    8 posts
    Member since:
    Sep 2017

    Posted 28 Nov 2017 Link to this post

    Hi All,


    I'm generating a PDF using my own code which is fired by a gridcolumbutton. The PDF is created on the server side without any issue but doesn't export the file Client side.





    filename = "pdf_sample_" & TEST & ".pdf"

                TEST_UtilityClass.generateTESTPDF(strPath,SampleName )

    ' strPath is serverpath

                Response.ContentType = "application/pdf"
                Response.AddHeader("Content-Disposition", "attachment;filename=" & filename)
                Me.EnableViewState = False





  2. Eyup
    Eyup avatar
    4027 posts

    Posted 01 Dec 2017 Link to this post

    Hello Kunal,

    I've already replied to your query here:

    You can check the built-in PDF exporting of RadGrid:

    Progress Telerik
    Try our brand new, jQuery-free Angular 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