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

How to clear the selected checkboxes inside the dropdownlist control

Thread ID:





129481 Mar 21,2017 03:05 PM UTC Mar 22,2017 11:16 AM UTC ASP.NET Core 1
Tags: DropDownList
Asked On March 21, 2017 03:05 PM UTC

Hi Support:

We want to have a button that when is clicked will reset the selected checkboxes inside the dropdownlist asp.net core control.

This is the dropdownlist definition:

<ej-drop-down-list id="states" name="states" show-checkbox="true" datasource="@((IEnumerable<State>)ViewData["States"])">
                                    <e-drop-down-list-fields text="Name" value="ID"   />

Thanks in advanced


Karthikeyan Viswanathan [Syncfusion]
Replied On March 22, 2017 11:16 AM UTC

Hi David,   
Thanks for Contacting Syncfusion support.   
You can unselect the selected items by using unCheckAll() public method in Dropdown List. Please refer to the below code snippet:   
function btnclick(args) {   
            target = $('#skillsets').data("ejDropDownList");   

Refer to the online sample browser sample linkhttp://aspnetcore.syncfusion.com/dropdownlist/checkbox    
Karthikeyan V.  


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