Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Unassigned: IE7/8 Cannot download file (when streamed to browser) [27494]

$
0
0
Since upgrading to the new AjaxControlToolkit version (July 2013 Release) streaming of Excel files to the browser has stopped working.

This worked perfectly on older versions of the AjaxControlToolkit (last version I used was 3.031106.0)

I'm basically writing the HTML of a GridView to Response as below;

```
Response.Clear()
Response.AddHeader("content-disposition", "attachment;filename=myexcelsheet.xls")
Response.Charset = ""
Response.ContentType = "application/vnd.xls"

Dim stringWrite As System.IO.StringWriter = New System.IO.StringWriter()
Dim htmlWrite As System.Web.UI.HtmlTextWriter = New HtmlTextWriter(stringWrite)

paycalc_GridView.RenderControl(htmlWrite)
Dim d As String = ""

Response.Write(stringWrite.ToString())
Response.End()

```
Comments: We're seeing the same problem with IE6/IE7/IE8 file downloads over HTTPs, even using the Dec 14, 2013 build of AjaxControlToolkit. Did anyone find a resolution to this problem?

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>