I have several controls which were ajaxified using RadAjaxManager and I'm now trying to download a PDF. I understand
the issues with not being able to use Response.WriteFile (callbacks don't work...full postbacks do). I found
the following link on your site about using the ResponseScripts collection to get around this issue, i.e.,
This works fine...but the file appears in the existing browser window...I do not get the file download dialog.
Is there a way to add something similar to the following "content-disposition" header (with the attachment attribute)...so the download
file dialog appears? I need the downloaded file to appear in a separate window.
Response.AppendHeader("content-disposition", "attachment; filename = " + Path.GetFileName(fileName));