ReportViewer.ExportContentDisposition Property

Gets or sets a value that indicates whether content should be present in-line or as an attachment.

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

Syntax

'Declaration
<DefaultValueAttribute(ContentDisposition.OnlyHtmlInline)> _
<WebBrowsableAttribute(True)> _
Public Property ExportContentDisposition As ContentDisposition
'Usage
Dim instance As ReportViewer
Dim value As ContentDisposition

value = instance.ExportContentDisposition

instance.ExportContentDisposition = value
[DefaultValueAttribute(ContentDisposition.OnlyHtmlInline)] 
[WebBrowsableAttribute(true)] 
public ContentDisposition ExportContentDisposition { get; set; }
[DefaultValueAttribute(ContentDisposition::OnlyHtmlInline)] 
[WebBrowsableAttribute(true)] 
public:
property ContentDisposition ExportContentDisposition {
    ContentDisposition get ();
    void set (ContentDisposition value);
}
/** @property */
public ContentDisposition get_ExportContentDisposition ()

/** @property */
public void set_ExportContentDisposition (ContentDisposition value)
public function get ExportContentDisposition () : ContentDisposition

public function set ExportContentDisposition (value : ContentDisposition)

Property Value

A ContentDisposition enumeration value indicating how content should be presented.

Remarks

Valid values are AlwaysAttachment, AlwayInline, or OnlyHtmlInline.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace