3 Answers, 1 is accepted
0
Hello Gene,
Unfortunately this is not possible. Please examine the following help topic:
Download files with ajaxified control
Best regards,
Daniel
the Telerik team
Unfortunately this is not possible. Please examine the following help topic:
Download files with ajaxified control
Best regards,
Daniel
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0

Neil N
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 12 Apr 2013, 04:09 PM
Is this still the case? So the code below will not work if called from an Ajaxified button?
Using OutStream
As
New
MemoryStream
xls.Save(OutStream)
OutStream.Position = 0
Response.Clear()
Response.AddHeader(
"Content-Disposition"
,
"attachment; filename=Submissions_Detail.xls"
)
Response.AddHeader(
"Content-Length"
, OutStream.Length.ToString())
Response.ContentType =
"application/excel"
'octet-stream";
Response.BinaryWrite(OutStream.ToArray())
Response.
End
()
End
Using
0
Hello Neil,
This is not a limitation in our control but rather a limitation of the ASP.NET AJAX. You can find a possible workaround here:
AJAX, file downloads, and IFRAMEs
Best regards,
Daniel
the Telerik team
This is not a limitation in our control but rather a limitation of the ASP.NET AJAX. You can find a possible workaround here:
AJAX, file downloads, and IFRAMEs
Best regards,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Adam
commented on 09 Oct 2021, 04:15 PM
Top achievements
Rank 1
For those looking for the original blog post mentioned above:
https://web.archive.org/web/20161010055550/http://encosia.com/ajax-file-downloads-and-iframes/
Vessy
commented on 11 Oct 2021, 07:17 AM
Telerik team
Thank you, Adam!