Skip to main content

ASPxPopupControlBase.Target Property

Gets or sets a window or frame at which to target the contents of the URLs associated with links in a window’s header and footer.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public string Target { get; set; }

Property Value

Type Default Description
String String.Empty

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


Use the Target property to specify a window or frame to which to target the links residing in a window’s header and footer. The header link is represented by the header text and header image, if a specific navigation location is defined via the ASPxPopupControlBase.HeaderNavigateUrl property. In the same manner, the footer link consists of the footer text and footer image when the link’s URL is assigned to the ASPxPopupControlBase.FooterNavigateUrl. If any or both of these links is defined for a window and a link is clicked, the client’s 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.


For ASPxPopupControl only:

If the ASPxPopupControl.Windows collection is empty, the Target property is applied to the default popup window. Otherwise, the Target property specifies a common target for the links in all popup windows from the ASPxPopupControl.Windows collection. In this case, the Target property’s value can be overridden by using the PopupWindow.Target property of individual windows.

See Also