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
close icon

Error on check All in drop down with checkbox

Hi,

I've drop down list items, with enabled check box.

I need an check all inside drop down list, so in this post you explain me how do it

http://www.syncfusion.com/forums/120720/dropdownlist-with-item-check-all

But, when I update to the last version, the check all doesn't work fine.

If I select items without check All, the dropdown Value has correct DataValueField, but when I click the check all, the drop down Value has DataTextField.

I attach an example

Attachment: SyncfusionASPNETApplication1_4ec21911.zip

1 Reply

KR Keerthana Rajendran Syncfusion Team May 3, 2016 04:00 PM UTC

Hi Manolo,

 

We ensured your sample  and were able to reproduce the issue in our end. So we suggest you to add the following codes in checkAll function of your sample as a work around to resolve it.

 

<code>

function checkAll(sender, check) {

            if (check) {

                sender.checkAll();

                var val = sender.element.val();

                sender.value(val == "" ? null : val);

            }

            else

                sender.unCheckAll();

        }

</code>

 

We have created an incident for your reported bug, you can follow the updates for fix through that incident

 

DT Link: http://www.syncfusion.com/support/directtrac/incidents

 

Regards,

Keerthana.

 

 


Loader.
Live Chat Icon For mobile
Up arrow icon