CategoryNavigationWebPart.LinkTarget Property
NOTE: This API is now obsolete.
Obsolete. Gets or sets the target of the link in the navigation bar.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ObsoleteAttribute("This control is obsolete. Please use asp:Menu instead.")> _
Public Property LinkTarget As String
Get
Set
'Usage
Dim instance As CategoryNavigationWebPart
Dim value As String
value = instance.LinkTarget
instance.LinkTarget = value
[ObsoleteAttribute("This control is obsolete. Please use asp:Menu instead.")]
public string LinkTarget { get; set; }
Property Value
Type: System.String
A string that represents the target of the link.
Remarks
The LinkTarget property supports only the following string values:
_blank. Loads the linked document into a new blank window. This window is not named.
_media. Loads the linked document into the HTML content area of the Media Bar. Available in Internet Explorer 6 or later.
_parent. Loads the linked document into the parent of the document that contains the link.
_search. Loads the linked document into the browser search pane. Available in Internet Explorer 5 or later.
_self. Loads the linked document into the window in which the link was clicked (the active window). This is the default.
_top. Loads the linked document into the topmost window.
See Also
Reference
CategoryNavigationWebPart Class