Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
i have one question.
i have one combo box that full with data source.but some of items are disable and just show them.

i need to show all of data in combo
first the data that can selected and then in the last the data that are disable and show only.
please help me how can i do this.
thanks
Posted
Comments
Sandeep Mewara 7-Oct-12 1:43am    
I doubt if you can show an item in combobox and mark it as 'disabled'. AFAIK, Whole combobox can be marked disabled not items.
arian1988 7-Oct-12 1:54am    
it means that some of items can select and some of them dont select and just show
Sandeep Mewara 7-Oct-12 2:52am    
I understood and hence I said, not possible (AFAIK).
arian1988 9-Oct-12 3:27am    
thanks a lot.
but i think you didnt uderstand me.
Sandeep Mewara 9-Oct-12 10:01am    
OK :)

1 solution

Not supported. You'd have to come up with your own version of a ComboBox to do this. Frankly, this is not the expected behavior of a combo and will confuse users.
 
Share this answer
 

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