I've got a problem with ASP.net. Creating a text file to save plain text to users hard drive using code like below when user clicks a button.
The exception is
l() at System.Threading.Thread.Ab
stateInfo) at System.Web.HttpResponse.En
The line with exception is at "Response.End()"
The text file DOES save to users hard drive successfully, its just this exception happening which I don't like.
Help appreciated, thank-you
'response to prompt user to save.
Response.ContentType = "text/plain"
Response.AddHeader("Content-disposition", "attachment;filename=""" + filename + """")