Hello All! Happy New Year!
I have a problem. Maybe AJAX, maybe not.
I am using Telerik RadAjaxPanel on my whole page and for a button click I want to open save as file dialog but nothing happen when clicked (file generation and path ok)
The save as file dialog code is the following:
Response.ContentType = "application/pdf";
Response.AppendHeader("Content-Disposition", "attachment; filename=" + pdfGen.GeneratedFileName);
Response.TransmitFile(pdfGen.FullFilePath);
Response.End();
Have somebody got idea?
Thanks,
G.
I have a problem. Maybe AJAX, maybe not.
I am using Telerik RadAjaxPanel on my whole page and for a button click I want to open save as file dialog but nothing happen when clicked (file generation and path ok)
The save as file dialog code is the following:
Response.ContentType = "application/pdf";
Response.AppendHeader("Content-Disposition", "attachment; filename=" + pdfGen.GeneratedFileName);
Response.TransmitFile(pdfGen.FullFilePath);
Response.End();
Have somebody got idea?
Thanks,
G.