ReportViewerWebPart.AutoGenerateTitle Property

Definition

Gets or sets a value that indicates whether the Web part title should be automatically generated from the report that is displayed.

public:
 property bool AutoGenerateTitle { bool get(); void set(bool value); };
[Microsoft.SharePoint.WebPartPages.WebPartStorage(Microsoft.SharePoint.WebPartPages.Storage.Shared)]
public bool AutoGenerateTitle { get; set; }
[<Microsoft.SharePoint.WebPartPages.WebPartStorage(Microsoft.SharePoint.WebPartPages.Storage.Shared)>]
member this.AutoGenerateTitle : bool with get, set
Public Property AutoGenerateTitle As Boolean

Property Value

true if the Web part title should be automatically generated; otherwise, false. The default is true.

Attributes
Microsoft.SharePoint.WebPartPages.WebPartStorageAttribute

Remarks

The generated title includes the name of the Report Viewer Web Part plus the name of the report, separated by a dash. If the report does not have a title, the report file name is used. The title is visible when you add a Web Part to a page. If this check box is selected, the title will be generated each time the page is refreshed.

This property can be configured using the Auto-Generate Web Part Title check box in the tool pane of the Web-based Web Part design user interface.

Applies to