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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DropDownList selected items display

Thread ID:





119400 Jun 16,2015 03:59 PM UTC Jun 17,2015 01:15 PM UTC ASP.NET MVC 1
Tags: DropDownList
Asked On June 16, 2015 03:59 PM UTC


Is it possible to display number of selected items instead of threir enumeration? For example: when selecting items  I want to display "10 of 30 items selected" instead of "item1,item2,item3....".

Thank you.

Kasithangam C [Syncfusion]
Replied On June 17, 2015 01:15 PM UTC

Hi Bruce,

Thanks for using Syncfusion Products,

We have achieved your requirement “want to display "10 of 30 items selected” in the following sample and please find the sample under the following location.

Sample Location:Dropdown Sample

In the above sample, we have displayed the No. of dropdown items selected in the button click.Please find the code for same,


function click() {

        var DropDownListObj = $("#bikeList").data("ejDropDownList");

        var item = DropDownListObj.element.val();

        alert(item.split(",").length +"  of " + DropDownListObj.listitems.length + " items selected");


Please let us know if you need further assistance.




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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon