Hi, I've just upgraded to the latest AjaxControlToolkit (July 2013 release) and now my filedownloads have stopped working in IE 7/8.
IE9, Firefox, Chrome etc are unaffected.
My app basically takes a gridview which is embedded in an updatepanel and exports the contents to an Excel spreadsheet using code as below;
Response.Clear()
Response.AddHeader("content-disposition", "attachment;filename=myexcelfile.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)
Response.Write(stringWrite.ToString())
Response.End()Gridview and Export button are contanined within the UpdatePanel; a PostBack trigger has been added to the triggers section of the UpdatePanel.
This worked in the previous version I was using, but now it doesn't.
If I switch the scriptmanager from
<ajaxToolkit:ToolkitScriptManager runat="Server" ID="ToolkitScriptManager1" CombineScripts="false"
AsyncPostBackTimeout="15000" />back to
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
that also works.
Also, this is over SSL.
Hope someone can help?