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

Checkbox inside template

Thread ID:





130028 Apr 17,2017 06:38 AM UTC Apr 18,2017 06:49 AM UTC ASP.NET Core 1
Tags: ListBox
Dieter De Preester
Asked On April 17, 2017 06:38 AM UTC


Is there an example of a checkbox in a listbox template?
I need to create a checkbox list.


Selvamani Sankarappan [Syncfusion]
Replied On April 18, 2017 06:49 AM UTC

Hi Dieter, 
Thanks for using Syncfusion products. 
Yes, you can use the check box in ListBox template using our existing property showCheckbox. Refer to the following code example: 
<ej-list-box id="selectExperts" datasource="ViewBag.datasource" height="200px" show-checkbox="true" template="<div id='template'><div class='ename'> ${text} </div><div class='desig'> ${desig} </div><div class='cont'> ${country} </div></div>"></ej-list-box> 
Refer to the following sample: 
Please let us know if you need any further assistance. 
Selvamani S. 


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

This page will automatically be redirected to the 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