This is a migrated thread and some comments may be shown as answers.

MultiSelect with serverFiltering: Not setting values

6 Answers 361 Views
MultiSelect
This is a migrated thread and some comments may be shown as answers.
George
Top achievements
Rank 1
George asked on 14 Apr 2016, 05:16 PM

Hi Team,

I've been messing around with this MultiSelect widget. It has been a little buggy after the Q3 2015 release. I'm saying so because this is not the first time I'm seeing and reporting a problem with this widget.

So, If you please go to this link - http://dojo.telerik.com/OSoTU/4

  1. Type "cha" in the multiselect control, and wait for 2 seconds to see the matching products,
  2.  Go ahead and choose one item from the products,
  3. Now, hit "Populate Items" button to add one more item to the widget.

It does not add it for the first time, but you can see the textbox has updated values. Now, if you hit the button again, it will show you the right items in the widget.

And this behavior can only been seen If serverFiltering is active.

Any suggestions?

 

Thanks,

George

6 Answers, 1 is accepted

Sort by
0
George
Top achievements
Rank 1
answered on 18 Apr 2016, 04:32 AM
Anyone? Any input, or suggestion?
0
Georgi Krustev
Telerik team
answered on 18 Apr 2016, 09:33 AM
Hello George,

The described behavior is actually expected, because you cannot update the datasource data manually when it uses a server operations (filtering, paging and etc). If you would like to update the data, then you will need to update the whole data source:
Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
George
Top achievements
Rank 1
answered on 18 Apr 2016, 03:04 PM

Hi Georgi,

Please tale a look at this - http://dojo.telerik.com/UkINe? This is same source code but with the last version of kendo library. It works fine here. This seems to be a very common behavior people would want to use. I was using it to choose/select people from an active directory, and I have many cases where user would want to copy/pull people from existing/pre-defined sets.

Thanks,

George

0
Georgi Krustev
Telerik team
answered on 20 Apr 2016, 08:10 AM
Hello George,

Thank you for the repro demo. I agree that it has scenarios that require to update the source and select custom values. In that case, you will need either to:
  • return the "fake" item from the server
  • update the whole DataSource, as I've shown in my previous reply

The approach shown in your demo has worked by chance. It has never been intended to work. I am afraid that you will need to use one of the suggested approaches if you would like to update the source. The referenced implementation has never been officially supported and you will need to refrain from using it.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Sameer
Top achievements
Rank 1
answered on 06 Sep 2019, 10:55 AM
Remove kendo multiselect for kendo.all.min js file and create a custom kendo.multiselect.min.js



In my project i am using v2017 of kendo.all.min.js. but in case of kendo multiselect with server filttering , i am facing a issues while a adding custom data into the  datasource. if  i change a the version 2015 the multiselect are working bu other things are not working. so i want to remove mutiselect from kendo.all.min.js (v2017) and create a separate kendo.multiselect.min.js file with v2015
0
Petar
Telerik team
answered on 10 Sep 2019, 07:51 AM

Hi Sameer,

As discussed in this public thread, mixing components from different Kendo UI versions is something we don't officially support. Even after implementing the described functionality all the components seem to work properly, we do not recommend the usage of such mixture.

Please, let's keep the communication consistent and continue the discussion in the above-linked forum thread.

Regards,
Petar
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
MultiSelect
Asked by
George
Top achievements
Rank 1
Answers by
George
Top achievements
Rank 1
Georgi Krustev
Telerik team
Sameer
Top achievements
Rank 1
Petar
Telerik team
Share this question
or