admin
-
8/18/2005 11:51:57 AM
Re: Response.Writefile to download a file
Hi Janusz,
Yes, it is most likely caused by the output filter. You may need to exclude your page from the output filter:
In the global.asax.cs file, please modify the code in the Application_BeginRequest method, on line:
if ( Request.Path.ToLower().IndexOf( "getfile.aspx" ) < 0 && Response.ContentType.ToLower() == "text/html" && ...
(there's already an exception for the getfile.aspx file)
Should you need any help with that, please contact me.
Best Regards,
|