Click here to Skip to main content
Rate this: bad
good
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 20:31pm
Comments
Sandeep Mewara at 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 at 7-Oct-12 1:54am
   
it means that some of items can select and some of them dont select and just show
Sandeep Mewara at 7-Oct-12 2:52am
   
I understood and hence I said, not possible (AFAIK).
matin arian at 9-Oct-12 3:27am
   
thanks a lot.
but i think you didnt uderstand me.
Sandeep Mewara at 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
0 DamithSL 305
1 OriginalGriff 275
2 Sergey Alexandrovich Kryukov 207
3 Peter Leow 185
4 Afzaal Ahmad Zeeshan 154
0 OriginalGriff 7,460
1 DamithSL 5,519
2 Sergey Alexandrovich Kryukov 4,954
3 Maciej Los 4,936
4 Kornfeld Eliyahu Peter 4,514


Advertise | Privacy | Mobile
Web04 | 2.8.141223.1 | Last Updated 7 Oct 2012
Copyright © CodeProject, 1999-2014
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