Click here to Skip to main content
15,889,859 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to disable particular item in checkedlistbox control???????????
Posted

 
Share this answer
 
v2
Try this
C#
((ListItem)CheckBoxList1.Items[2]).Enabled = false;
 
Share this answer
 
Comments
[no name] 12-Jan-15 7:15am    
InvalidCastException occured while i tried.
Prerak Patel 15-Jan-15 3:56am    
Too less information. You haven't specified what and how you are trying.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900