Back to Devexpress

ASPxNavBar.Target Property

aspnet-devexpress-dot-web-dot-aspxnavbar-374e04fd.md

latest2.3 KB
Original Source

ASPxNavBar.Target Property

Gets or sets the window or frame at which to target the contents of the URLs associated with links within NavBar.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue("")]
public string Target { get; set; }
vb
<DefaultValue("")>
Public Property Target As String

Property Value

TypeDefaultDescription
StringString.Empty

A string which identifies the window or frame at which to target the URL content.

|

Remarks

Use the Target property to specify the common target (a window or frame) for all links within the navbar control.

Setting the Target property defines that when a link (an item or a group’s caption) is clicked within a navbar, the client web browser navigates to the specified URL and displays it in the window or frame as specified by this property. The available values of the property are listed in the table below.

MemberDescription
nameThe name of the target window or frame.
_blankLoad the linked document into a new blank window. This window is not named.
_parentLoad the linked document into the immediate parent of the document the link is in.
_searchLoad the linked document into the browser search pane.
_selfLoad the linked document into the window in which the link was clicked (the active window).
_topLoad the linked document into the topmost window.

See Also

NavBarGroup.Target

NavBarItem.Target

Navigation Bar

ASPxNavBar Class

ASPxNavBar Members

DevExpress.Web Namespace