aspnet-devexpress-dot-web-dot-aspxhyperlink-9448747c.md
Gets or sets the window or frame at which to target the contents of the URL associated with the editor.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue("")]
public string Target { get; set; }
<DefaultValue("")>
Public Property Target As String
| Type | Default | Description |
|---|---|---|
| String | String.Empty |
A string which identifies the window or frame at which to target the URL content.
|
This property is a wrapper of the HyperLinkProperties.Target property.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Target property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
aspxgridview-hyperlink-based-on-several-cell-values/CS/Solution/Default.aspx.cs#L14
link.Text = "Show New Form, Key Field = " + container.KeyValue;
link.Target = "_blank";
link.NavigateUrl = "Default2.aspx?id=" + container.KeyValue;
aspxgridview-hyperlink-based-on-several-cell-values/VB/Solution/Default.aspx.vb#L17
link.Text = "Show New Form, Key Field = " & container.KeyValue
link.Target = "_blank"
link.NavigateUrl = "Default2.aspx?id=" & container.KeyValue
See Also