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.
Unfortunately, activation email could not send to your email. Please try again.

DropDownList: Hot to show only the selected image.

Thread ID:

Created:

Updated:

Platform:

Replies:

123374 Mar 11,2016 06:40 AM Apr 5,2016 09:05 AM ASP.NET MVC 3
loading
Tags: DropDownList
Jaime
Asked On March 11, 2016 06:40 AM

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

Kalai Selvi Rajendran [Syncfusion]
Replied On March 15, 2016 08:14 AM

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


Megatron
Replied On April 4, 2016 07:11 PM

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

Keerthana Rajendran [Syncfusion]
Replied On April 5, 2016 09:05 AM

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.




CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;