Click or drag to resize
KaxTabTarget Property
Gets or sets the target window or frame in which to display the Web page content associated with the current tab.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
[TypeConverterAttribute(typeof(TargetConverter))]
public override string Target { get; set; }

Property Value

Type: String

The target window or frame to load the Web page linked to when the tab is selected. Values must begin with a letter in the range of a through z (case insensitive), except for the following special values, which begin with an underscore:

_blankRenders the content in a new window without frames.
_parentRenders the content in the immediate frameset parent.
_selfRenders the content in the frame with focus.
_topRenders the content in the full window without frames.

The default value is empty string which means the linked resource will be loaded in the current window.
Remarks

Use the Target property to target window or frame in which to display the Web page content associated with the current tab. The Web page is specified by the NavigateUrl property.

If this property is not set, the Web page specified by the NavigateUrl property is loaded in the current window.

The Target property is taken into consideration only when the NavigateUrl property is set.

Examples
The following example demonstrates how to use the Target property

<kettic:KaxTabControl id="KaxTabControl1" runat="server">
<Tabs>
<kettic:KaxTab Text="News" NavigateUrl="~/News.aspx" Target="_self" />
<kettic:KaxTab Text="External URL" NavigateUrl="http://www.example.com" Target="_blank" />
</Tabs>
</kettic:KaxTabControl>

See Also