Click here to Skip to main content
16,021,125 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I would like to set readonly property to checkedlistbox item programmatically, can anyone help
Posted
Comments
[no name] 9-Jul-12 7:47am    
If the property is read only then it's READ only....
Sandeep Mewara 9-Jul-12 7:48am    
Winforms or ASP.NET?

You need help but you forgot to share where are you stuck? WHat have you tried so far?

1 solution

C#
if (chkboxlist.SelectedItem!=null)
{chkboxlist.SelectedItem.Enabled = false;}


If you require Selected Item of Select CheckBoxList to give
readonly property/ or disable.

It will working.
 
Share this answer
 
v2

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