ASP.NET Enabled Property
Complete ListItem Control Reference
Definition and Usage
The Enabled property is used to set or return the whether or not the
ListItem is enabled by default.
If this property is set to TRUE the ListItem is Enabled by default, otherwise
FALSE. Default is TRUE.
Syntax
|
<asp:ListItem Enabled="True|False" runat="server" /> |
Example
The following example disables a ListItem in a ListBox control:
<form runat="server">
<asp:ListBox runat="server">
<asp:ListItem Text="Item1" Enabled="False"/>
<asp:ListItem Text="Item2" />
</asp:ListBox>
</form>
|
Show example »
|
Complete ListItem Control Reference
Stylus Studio® 2010 XML Enterprise Suite raises the bar for productivity in XML development tools.
Millions of XML developers and data integration specialists turn to Stylus Studio's comprehensive and intuitive
XML toolset to tackle today's advanced XML data transformation and aggregation challenges.
|
- XML Pipeline Editor, Debugger and Code Generator
- DataDirect XML Converters
- XQuery Mapper, Editor, Debugger, and Profiler
- XSLT Mapper, Editor, Debugger, Designer, and Profiler
- Java and C# for .Net Code Generation
- XML Schema Designer With Documentation Generator
- XML Editor With Full XPath Integration
Download a free trial now
|
|