OK I was working with the radgrid export functionality and when I press the export button it does a postback and it updates the page with all the rows, and then nothing.
See the attached images. as soon as I click the pdf or csv export buttons on the grid or the separate buttons it re-renders the page with all the records but does not open the PDF or the CSV.
I think I am missing something simple, for I have used export a lot and not had this issue. I am using the most current code base. here is my button code, its really straight forward.
Protected Sub ExportPDF_Click(sender As Object, e As EventArgs) Handles ExportPDF.Click
RadGrid1.PageSize = RadGrid1.MasterTableView.VirtualItemCount
RadGrid1.ExportSettings.IgnorePaging = True
RadGrid1.ExportSettings.OpenInNewWindow = True
RadGrid1.MasterTableView.ExportToPdf()
End Sub
What is going on?
See the attached images. as soon as I click the pdf or csv export buttons on the grid or the separate buttons it re-renders the page with all the records but does not open the PDF or the CSV.
I think I am missing something simple, for I have used export a lot and not had this issue. I am using the most current code base. here is my button code, its really straight forward.
Protected Sub ExportPDF_Click(sender As Object, e As EventArgs) Handles ExportPDF.Click
RadGrid1.PageSize = RadGrid1.MasterTableView.VirtualItemCount
RadGrid1.ExportSettings.IgnorePaging = True
RadGrid1.ExportSettings.OpenInNewWindow = True
RadGrid1.MasterTableView.ExportToPdf()
End Sub
What is going on?