all groups > c# > january 2007 >
You're in the

c#

group:

Combobox with checked list box.


Combobox with checked list box. saurabhnsit2002 NO[at]SPAM gmail.com
1/14/2007 9:21:13 PM
c#:
Can anyone help me about how to create combo box with its items as
checked boxes or radio buttons. This has to be done in C#. I have seen
something similar to this named custom combo boxes but they are in MFC
I have to remain constrained only in C#.
I have tried to add checked listbox in combobox drop down list but it
is showing in text format i.e. name of the control added, if I change
display property of combobox with some property of the object
referenced by the datasource of combobox then nothing is visible in
drop down list of combobox.
Re: Combobox with checked list box. Morten Wennevik [C# MVP]
1/15/2007 10:14:04 AM
Hi,

This topic came up last thursday under the name "How to multiselect
entries in drop down" a description on how to create a checkable ComboBox
is described there.


[quoted text, click to view]



--
Happy Coding!
Re: Combobox with checked list box. saurabhnsit2002 NO[at]SPAM gmail.com
1/16/2007 2:24:55 AM
Hi Morten,

This is rely fantastic solution. This can serve the purpose. But surely
this will be the last solution for me.
Is there any way to replace combobox list view by checkedlistbox. This
can be done in C++ with help of subclassing. Can it be done here with
help of subclassing.

Regards,
Saurabh Jain.

[quoted text, click to view]
AddThis Social Bookmark Button