KaxTabTarget Property |
Namespace: Kettic.AspNet.Controls
[TypeConverterAttribute(typeof(TargetConverter))] public override string Target { get; set; }
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:
_blank | Renders the content in a new window without frames. |
_parent | Renders the content in the immediate frameset parent. |
_self | Renders the content in the frame with focus. |
_top | Renders the content in the full window without frames. |
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.
<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>