reportAreaContentType Property

Gets a Microsoft.Reporting.WebFormsClient.ReportAreaContent value that indicates the current content type of the report area.

Note Note

To get or set property values for client API properties, you must call property accessor methods that are named with the get_ and set_ prefixes.

if ($find(viewerId).get_reportAreaContent() == 

Certain methods, such as invokePrintDialog, require that a report is loaded in the report area. Use this property to check whether the report area contains a report page before you use those methods.

When the Web page is performing a postback or the client-side control is loading content, accessing the methods or properties will cause an exception with the message: "The report or page is being updated. Please wait for the current action to complete." Use the isLoading property to check whether the report or page is being updated and whether you can access the methods and properties.