ContentDisposition Enumeration

Indicates how the report content should be presented.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)


Public Enumeration ContentDisposition
Dim instance As ContentDisposition
public enum ContentDisposition
public enum class ContentDisposition
public enum ContentDisposition
public enum ContentDisposition


  Member name Description
AlwaysAttachment Indicates that content is always presented as an attachment regardless of format. 
AlwaysInline Indicates that content is presented inline regardless of format. 
OnlyHtmlInline Indicates that HTML-formatted content is presented inline; all other content is presented as an attachment. 


This is used as a value for the ExportContentDisposition property of the ReportViewer control to indicate whether content should be presented inline or as an attachment.

See Also


Microsoft.Reporting.WebForms Namespace