System.Web.UI.WebControls.Menu.SelectedValue Property

Gets the value of the selected menu item.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.DefaultValue("")]
[System.ComponentModel.Browsable(false)]
public string SelectedValue { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the Menu.SelectedValue property as a shortcut to determine the text of the selected menu item. To access the other properties of the selected menu item, use the Menu.SelectedItem property.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0