Share via


ReportViewerWebPart.AutoGenerateDetailLink Property

Gets or sets a value that indicates whether to generate a hyperlink that appears above the Web Part. You can click the link to open the report in a new page, in full-page mode.

Namespace:  Microsoft.ReportingServices.SharePoint.UI.WebParts
Assembly:  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
Public Property AutoGenerateDetailLink As Boolean 
    Get 
    Set
'Usage
Dim instance As ReportViewerWebPart 
Dim value As Boolean 

value = instance.AutoGenerateDetailLink

instance.AutoGenerateDetailLink = value
[WebPartStorageAttribute(Storage.Shared)]
public bool AutoGenerateDetailLink { get; set; }
[WebPartStorageAttribute(Storage::Shared)]
public:
property bool AutoGenerateDetailLink {
    bool get ();
    void set (bool value);
}
[<WebPartStorageAttribute(Storage.Shared)>]
member AutoGenerateDetailLink : bool with get, set
function get AutoGenerateDetailLink () : boolean 
function set AutoGenerateDetailLink (value : boolean)

Property Value

Type: System.Boolean
true to generate a fully-qualified URL for viewing the current report in a full page; otherwise, false. The default is true.

Remarks

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

See Also

Reference

ReportViewerWebPart Class

Microsoft.ReportingServices.SharePoint.UI.WebParts Namespace