We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Image problem with ComboDropdown

I am using ComboDropdown to display a TreeView, after double click the tree node, I want not only set the Text of the ComboDropdown, but also add an image ,which is the image of selected tree node, before the ComboDropdown.Text.

ComboDropdown.Text can be used to set text, but how to set the image? there is any API for these?







ComboDropdown_f97482fa.zip

3 Replies

FS Fathima Shalini P Syncfusion Team December 18, 2008 05:50 PM UTC

Hi,

Thank you for your interest in Syncfusion Products.

Currently we dont have built in support for displaying image in the ComboBoxDropDown. As a workaround I have overridden the ComboBoxDropDown and drawn image in it. Please refer to the sample below that illustrates this:

http://websamples.syncfusion.com/samples/Tools.Windows/F78386/Main.htm

Please let me know if any concerns.

Regards,
Fathima



MA Mark Attridge March 29, 2012 08:12 PM UTC

I also have this requirement, but the link for the sample code is invalid. Could you please re-post this sample code? Thanks!



AA Arun A Syncfusion Team April 3, 2012 11:47 AM UTC

Hi,

Thanks for the update.

I have attached the sample as per your requirements in the following link. Please run the sample and let us know if it helps you.

http://www.syncfusion.com/downloads/Support/DirectTrac/92801/CS-602232091.zip

Please let us know if you need any other details.

We are glad to help you on this.

Regards,
Arun A.



Loader.
Live Chat Icon For mobile
Up arrow icon