ContentDisposition Enumeration

Indicates how the report content should be presented.

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

Syntax

'Declaration
Public Enumeration ContentDisposition
'Usage
Dim instance As ContentDisposition
public enum ContentDisposition
public enum class ContentDisposition
public enum ContentDisposition
public enum ContentDisposition

Members

  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. 

Remarks

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

Reference

Microsoft.Reporting.WebForms Namespace