protected override void WriteFile(HttpResponseBase response) { if (saveFileDialog) response.AddHeader("Content-Disposition", "attachment;filename="" + FileName + """); if (BinaryData != null) { response.AddHeader("Content-Length", BinaryData.Length.ToString()); response.BinaryWrite(BinaryData);
What do you think about this topic? Send feedback!
|
Copyright (c) 2017. All rights reserved.
|