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

How to initial check items

Thread ID:





151029 Jan 28,2020 03:52 PM UTC Jan 31,2020 12:30 PM UTC ASP.NET Core - EJ 2 2
Tags: ListBox
Thomas Schinagl
Asked On January 28, 2020 03:52 PM UTC

I have a ListBox like this:

            <ejs-listbox id="Schnellnavigation" ejs-for="SelectedValues" allowDragAndDrop="true" dataSource="Model.Items">
                <e-listbox-selectionsettings  mode="Multiple" showCheckbox="true" checkboxPosition="Right"></e-listbox-selectionsettings>

Motel.Items is a List of Items with a text and a value property.
SelectedValues  = new List<string>() { "1", "2" };

When i load the page the checkboxes are not selected:

Whats wrong with my code? How can i select the checkboxes?

Thomas Schinagl
Replied On January 29, 2020 07:24 AM UTC

I solved this Problem by myself with the ListBoxFieldSettings {Text = "Text", Value="Value"} but when i add a IconCss the selection of the Checkboxes doesnt work again. I think this is a Bug.

Saranya Dhayalan [Syncfusion]
Replied On January 31, 2020 12:30 PM UTC

Hi Thomas, 
Thank you for contacting Syncfusion support 
We have checked your reported issue, we confirmed this is issue we have logged the defect report “Listbox iconCss not loading issue”. This fix will be available in our upcoming patch release. 
Saranya D 


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

Live Chat Icon For mobile
Live Chat Icon