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

How to refresh Multiselect Dropdown?

3 Answers 1361 Views
MultiSelect
This is a migrated thread and some comments may be shown as answers.
Rhituparna
Top achievements
Rank 1
Rhituparna asked on 26 Aug 2014, 07:26 AM
Hi,
I'm using cascading multiselect dropdownlist.When i'm trying to refresh it ,its giving the old list along with the new multiselectlist.I want to remove the old list and append the new list there.How to do that?

3 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 28 Aug 2014, 07:16 AM
Hello Rhituparna,

I am not exactly sure what is causing this. Here is a simple Dojo demo, which shows how cascading multiselects could be implemented. I would suggest you modify it in order to replicate the erroneous behavior. Thus we will be able to observe the problem locally and advice you further.

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
Rhituparna
Top achievements
Rank 1
answered on 29 Aug 2014, 09:51 AM
Hello Georgi,

My problem is that the multiselect list I am using has dependency.Like,you have given me an example of two multiselect lists.One for Supplier and another for products.In my case,I have one dropdown for supplier and another multiselect list for products.For each Supplier I have different products.But when ,I am changing the supplier I am having multiple lists there in products.There is a problem of caching data.The old list is remaining along with the new one.I want my multiselect list to be refreshed each time when I change supplier in the dropdownlist.

Regards,
Rhituparna
0
Georgi Krustev
Telerik team
answered on 29 Aug 2014, 10:32 AM
Hello Rhituparna,

The demo I've referenced uses serverFiltering set to true, which means that widget will show the date returned from the server. It will not cache neither combine it with the current one.
If you are experiencing any cache issues, I would suggest you check the server response and verify that it returns the correct result data.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
MultiSelect
Asked by
Rhituparna
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Rhituparna
Top achievements
Rank 1
Share this question
or