ListItem Properties
.NET Framework 3.0
| Name | Description | |
|---|---|---|
| Attributes | Gets a collection of attribute name and value pairs for the ListItem that are not directly supported by the class. |
| Enabled | Gets or sets a value indicating whether the list item is enabled. |
| Selected | Gets or sets a value indicating whether the item is selected. |
| Text | Gets or sets the text displayed in a list control for the item represented by the ListItem. |
| Value | Gets or sets the value associated with the ListItem. |
| Name | Description | |
|---|---|---|
| System.Web.UI.IStateManager.IsTrackingViewState | For a description of this member, see IStateManager.IsTrackingViewState. |
Reference
ListItem ClassSystem.Web.UI.WebControls Namespace
ListControl
RadioButtonList
ListBox
DropDownList
CheckBoxList
Other Resources
ListBox Web Server ControlRadioButton and RadioButtonList Web Server Controls Overview
BulletedList Web Server Control
DropDownList Web Server Control
Securing Standard Controls
How to: Protect Against Script Exploits in a Web Application by Applying HTML Encoding to Strings
Introduction to Validating User Input in ASP.NET Web Pages
Community Additions
ADD
Show: