MenuItem.NavigateUrl Property
.NET Framework 3.0
Gets or sets the URL to navigate to when the menu item is clicked.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
/** @property */ public String get_NavigateUrl () /** @property */ public void set_NavigateUrl (String value)
public function get NavigateUrl () : String public function set NavigateUrl (value : String)
Not applicable.
Property Value
The URL to navigate to when the menu item is clicked. The default value is an empty string (""), which indicates that this property is not set.A menu item can be in one of two modes: selection mode or navigation mode. By default, a menu item is in selection mode. To put a menu item into navigation mode, set the menu item's NavigateUrl property to a value other than an empty string ("").
When a menu item is in navigation mode, all selection events are disabled for that menu item. Clicking the menu item in navigation mode takes the user to the specified URL. You can optionally set the Target property to specify the window or frame in which to display the linked content.
Community Additions
ADD
Show: