Sdílet prostřednictvím


ReportViewerWebPart.HyperlinkTarget Property

Gets or sets the target frame for displaying linked content within the current report.

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 HyperlinkTarget As String
    Get
    Set
'Usage
Dim instance As ReportViewerWebPart
Dim value As String

value = instance.HyperlinkTarget

instance.HyperlinkTarget = value
[WebPartStorageAttribute(Storage.Shared)]
public string HyperlinkTarget { get; set; }
[WebPartStorageAttribute(Storage::Shared)]
public:
property String^ HyperlinkTarget {
    String^ get ();
    void set (String^ value);
}
[<WebPartStorageAttribute(Storage.Shared)>]
member HyperlinkTarget : string with get, set
function get HyperlinkTarget () : String
function set HyperlinkTarget (value : String)

Property Value

Type: System.String
One of the following values: _Top, _Blank, and _Self.

Remarks

For drillthrough reports and for reports that include hyperlinks to external Web sites, you can specify whether a target document opens in the current frame (_Self), the top-level frame of the current browser window (_Top), or a new browser window (_Blank).