Hi,
When using a ClientDataSource to populate a couple of drop downs I have a routine in the first one that on selected item changing it triggers the second one to update.
The issue I have is that if you change the first one again it doesn't update the second drop down, tracing it, it seems that it doesn't actually do anything with the clientdatasource even though the itemsrequested event fires once it is done (doing nothing!).
I am using the following code to trigger the update on the second combo.
Any suggestions? It is worth noting again that this works the first time, it is on the second update that it doesn't change the drop down.
Regards
Jon
child.clearItems();
child.set_text(
'Loading'
);
child.requestItems(
null
,
false
);
5 Answers, 1 is accepted
May I ask you to prepare a small runnable sample demonstrating the issue described and send it along with a support ticket? This way we will be able to troubleshoot the problem locally and to provide you with the most appropriate assistance for this case.
Regards,
Veselin Tsvetanov
Telerik by Progress
Hi Veselin,
Sorry I ended up ditching this and used the Kendo drop down instead. I have run into a couple of different issues but have found that the Kendo one with the built in cascading makes things a lot easier for me.
Regards
Jon
I am happy to know that you found the appropriate solution for your needs. The Kendo widgets are a very good choice, when in an application most of the logic is being performed on the client.
Regards,
Veselin Tsvetanov
Telerik by Progress
Hi Veselin
Many thanks. The controls do work well although am now having to work at reducing the size of the scripts/css files as combined with the normal scripts they are managing to slow page loading times considerably. I suppose that using just one framework is a lot quicker than using 2!
Regards
Jon
In case you are using only the DropDownList from the Kendo UI suite, you could load only the relevant files for that widget in order to reduce traffic.
Regards,
Veselin Tsvetanov
Telerik by Progress