Link to home
Start Free TrialLog in
Avatar of mainrotor
mainrotor

asked on

Need help adding a value to my KENDO UI Multiselect control in my MVC.Net application

Hi Experts,
I need help adding a value to my KENDO UI Multiselect Control.  I dynamically load my control by providing a datasource.  I then use the optionLabel and value properties to add a value to my control but it's not working.
I have done this before with KENDOUI Drop Down List control, but I can't seem to get to work for the Multi Select control.

I have attached an image of my code and an image of how I use my control in my UI.

User generated image
User generated image
Please let me know what I need to do to make it work.



Thank you in advance,
mrotor
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

I do not use kendo, but it looks like you need to remove the first three items for autobind, optionlabel and value. the next two items should match up with field names in your data source.

https://docs.telerik.com/kendo-ui/api/javascript/ui/multiselect/configuration/datasource
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.