ContentDisposition Enumeration

Indicates how the report content should be presented.

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

public enum class ContentDisposition
public enum ContentDisposition
public enum ContentDisposition

 Member nameDescription
AlwaysAttachmentIndicates that content is always presented as an attachment regardless of format. 
AlwaysInlineIndicates that content is presented inline regardless of format. 
OnlyHtmlInlineIndicates 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.