PopupWindow.Target Property
Gets or sets the window or frame at which to target the contents of the URLs associated with links in the current popup window’s header and footer.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
String | String. |
A string which identifies the window or frame at which to target the URL content. |
#Remarks
Use the Target property to specify a window or frame at which to target the links residing in the current popup 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 or PopupWindow.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 or PopupWindow.FooterNavigateUrl property. If any or both of these links are defined for a popup 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. |
Note
The value assigned to the Target property of a popup window overrides the value set for the popup control’s ASPx