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

DropDownList: Hot to show only the selected image.

Is there any way to only show the selected item's image?
Also, Is there any way to set different widths to the input element and the expanded list?
I have attached two imagen, where you can see my actual dropdownlist, and what i'm trying to get.


Attachment: captures_d0a720ac.rar

3 Replies

KS Kalai Selvi Rajendran Syncfusion Team March 15, 2016 12:14 PM UTC

Hi Jaime,


Based on the provided information, we have prepared a sample that will select the image instead of the text from the DropDownList. The width and popup panel width can have different width size. It can be set by using the width and popupWidth property. 


For online Demo, please refer to the below link

http://jsplayground.syncfusion.com/jezgok2k


For DropDownList’s API, please refer to the below link

http://help.syncfusion.com/js/api/ejdropdownlist#members 


Could you please ensure the sample at your end and let us know if you have any other queries. 


Regards

Kalai Selvi



ME Megatron April 4, 2016 11:11 PM UTC

Hi how can I do this in Razor? ASP MVC
thanks
Mega


KR Keerthana Rajendran Syncfusion Team April 5, 2016 01:05 PM UTC

Hi Jaime,


A support incident to track the status of this request has been created under your account. Please log on to our support website to check for further updates

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents 

Please let me know if you have any questions


Regards,


Keerthana.




Loader.
Live Chat Icon For mobile
Up arrow icon