skmMenu: An ASP.NET Menu Control

MenuItem.Url Property

Gets or sets the MenuItem's Url.

public virtual string Url {get; set;}

Property Value

Specifies the URL the user will be whisked to when the MenuItem is clicked. The default value is String.Empty. The Url property is optional.

Remarks

If a MenuItem has a Url value, the MenuItem is "clickable." That is, the end user will be able to click the MenuItem and be whisked to the specified URL.

The Url value can use the ~ notation. For this to work, though, the Menu class's DefaultResolveUrl property must be set to True.

See Also

MenuItem Class | skmMenu Namespace