asp.net.ph

MenuItem.Selectable Property

System.Web.UI.MenuItems Namespace   MenuItem Class


.NET Framework version 2.0

Sets or retrieves a value indicating whether a MenuItem object can be selected.

Syntax


Inline <asp:menuitem selectable = true | false ... >
Script MenuItem.Selectable [ = true | false ]

Property Value

This property accepts or returns only a boolean value: true if a MenuItem can be selected; otherwise, false. Default value is true.

Remarks

Use the Selectable property to indicate whether a MenuItem can be selected in a Menu control.

When this property is set to false on a menu item, no action occurs when the menu item is selected ( clicked ). The pop-out image indicating child menu items for the menu item, if one exists, is still shown and available.

If you do not want any child menu items to appear for a menu item, set the Enabled property to false.

See Also

MenuItem Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph