Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello.. i need some help how to hide unselect value from checklist (only view select item) and read the value from what i select. here some of my coding select value and i need simple coding how to display on select item.

VB
For i = 0 To (itemlist - 1)
    Try
     If seletedItem(i).ToString = "N" Then
        itemlist .Items.Item(i).Selected = False

     Else
        itemlist .Items.Item(i).Selected = True

     End If
     Catch
     End Try
    Next
Posted
Comments
Sergey Alexandrovich Kryukov 26-Sep-12 22:21pm    
What is "hide value", exactly? If you hide unselected element, you won't be able to select it :-)
--SA
uti123fil 26-Sep-12 22:27pm    
(= actually what i mean hide the unselect item from previous page.. eg if i have 3 checklistitem Easy Medium and Insane, i select easy and click submit button, when i want to preview back i only can see Easy (display selected item only).. ;)
Sergey Alexandrovich Kryukov 27-Sep-12 0:51am    
K.I.S.S.
--SA

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