System.Web.UI.WebControls.TreeView.Target Property

Gets or sets the target window or frame in which to display the Web page content that is associated with a node.

Syntax

[System.ComponentModel.DefaultValue("")]
public string Target { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the TreeView.Target property to specify the window or frame in which to display the Web content that is linked to a node when that node is clicked.

Note:

The TreeView.Target property renders as a target attribute. The target attribute on anchor elements is not allowed in the XHTML 1.1 document type definition. Do not set the TreeView.Target property, if the rendered output for the System.Web.UI.WebControls.TreeView must be XHTML 1.1 compliant. For more information, see ASP.NET and XHTML Compliance.

When creating accessible Web pages, you should avoid using the TreeView.Target property to target another window. For more information, see ASP.NET Controls and Accessibility.

The value of this property is stored in view state.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0