Click here to Skip to main content
12,251,686 members (60,549 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#
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 6-Oct-12 19:31pm
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.
matin arian 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).
matin arian 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

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160426.1 | Last Updated 7 Oct 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100