This is something I always forget how to do. When you use the Response stream to output a file or image, you often want the name of the stream to make sense. That way, if the user tries to save the file or image, the suggested name is what you specified.
Before ending the Response stream, add something like the following:
context.Response.AddHeader("Content-Disposition", "inline;filename=" + _filename + ".png");
Remember Me
Page rendered at 2/10/2012 4:18:08 AM (New Zealand Standard Time, UTC+12:00)
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.