title: Chome downloads aspx page instead of an excel like it does in IE and firefox
body: <p>I have a webpage that allows users to download excel reports, in Chrome, it just tries to download an aspx page instead of the excel like it successfully does in IE and Firefox.</p>
  
  <p>Is this a known issue and is there a workaround?</p>
  
  <p>I am using this in VB:</p>
  
  <pre><code>db.subRunReader(resultSQL)
  dgProperties.DataSource = db.sqlReader
  dgProperties.DataBind()
  db.subCloseReader()
  db.subCloseConnection()
  
  Response.ContentType = "application/vnd.ms-excel"
  Response.Charset = ""
  Me.EnableViewState = False
  
  Dim tw As New System.IO.StringWriter()
  Dim hw As New System.Web.UI.HtmlTextWriter(tw)
  dgProperties.RenderControl(hw)
  Response.Write(tw.ToString())
  Response.End()
  Response.Redirect(Request.Url.ToString())
  </code></pre>
  
  <p>Thanks.</p>