Click or drag to resize
KaxMenuItemNavigateUrl Property
Gets or sets the URL to link to when the item is clicked.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public override string NavigateUrl { get; set; }

Property Value

Type: String
The URL to link to when the item is clicked. The default value is empty string.
Remarks
Use the NavigateUrl property to specify the URL to link to when the item is clicked. Use "~" (tilde) in front of an URL within the same ASP.NET application. When specifying external URL do not forget the protocol (e.g. "http://").
Examples
The following example demonstrates how to use the NavigateUrl property

<kettic:KaxMenu id="KaxMenu1" runat="server">
<Items>
<kettic:KaxMenuItem Text="News" NavigateUrl="~/News.aspx" />
<kettic:KaxMenuItem Text="External URL" NavigateUrl="http://www.example.com" />
</Items>
</kettic:KaxMenu>

See Also