ReportViewer.ReportAreaContentType Property

Gets a ReportAreaContent object that indicates the current content type of the report area.

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


<BrowsableAttribute(False)> _
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> _
Public ReadOnly Property ReportAreaContentType As ReportAreaContent
Dim instance As ReportViewer
Dim value As ReportAreaContent

value = instance.ReportAreaContentType
public ReportAreaContent ReportAreaContentType { get; }
property ReportAreaContent ReportAreaContentType {
    ReportAreaContent get ();
/** @property */
public ReportAreaContent get_ReportAreaContentType ()
public function get ReportAreaContentType () : ReportAreaContent

Property Value

A ReportAreaContent object.


You can use this property to check whether the report area contains a report.

The ReportViewer control changes the value of this property during the life cycle of the ASP.NET page. Before the ReportViewer.PreRender event has completed, this property may be set to Unknown. Its value is finalized after the ReportViewer.PreRender event.

See Also


ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace