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()
```
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()
```