Tab

RibbonButtonItem.Target Property

Gets or sets the window or frame in which to target the contents of the URL associated with the current ribbon item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

[DefaultValue("")]
public virtual string Target { get; set; }

Property Value

Type Default Description
String

String.Empty

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

Remarks

When a ribbon item is clicked and its RibbonButtonItem.NavigateUrl is defined, the client web browser navigates to the specified URL and displays it in the window or frame as specified by the Target property. The available values of the property are listed in the table below.

Member Description
name The name of the target window or frame.
_blank Load the linked document into a new blank window. This window is not named.
_parent Load the linked document into the immediate parent of the document containing the link.
_search Load the linked document into the browser search pane.
_self Load the linked document into the window in which the link was clicked (the active window).
_top Load the linked document into the topmost window.

You can specify the common target for all links in the ribbon control using the ASPxRibbon.Target property.

See Also