You are here: Symbol Reference > Stimulsoft.Report.MvcMobile Namespace > StiFileResult Class > StiFileResult Methods > WriteFile Method
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
StiFileResult.WriteFile Method
Syntax
C++
C#
Visual Basic
protected: void WriteFile( HttpResponseBase response );

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);

Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.