MultiSelect with serverFiltering: Not setting values

7 posts, 0 answers
  1. George
    George avatar
    16 posts
    Member since:
    Mar 2012

    Posted 14 Apr 2016 Link to this post

    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

  2. George
    George avatar
    16 posts
    Member since:
    Mar 2012

    Posted 17 Apr 2016 Link to this post

    Anyone? Any input, or suggestion?
  3. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3747 posts

    Posted 18 Apr 2016 Link to this post

    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!
     
  4. George
    George avatar
    16 posts
    Member since:
    Mar 2012

    Posted 18 Apr 2016 in reply to Georgi Krustev Link to this post

    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

  5. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3747 posts

    Posted 20 Apr 2016 Link to this post

    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!
     
  6. Sameer
    Sameer avatar
    3 posts
    Member since:
    Feb 2019

    Posted 06 Sep 2019 in reply to George Link to this post

    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
  7. Petar
    Admin
    Petar avatar
    366 posts

    Posted 10 Sep 2019 Link to this post

    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.
Back to Top