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

ClientDataSource

5 Answers 64 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 28 Jul 2016, 07:17 PM

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

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 02 Aug 2016, 08:20 AM
Hi Jon,

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
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Jon
Top achievements
Rank 1
answered on 02 Aug 2016, 08:25 AM

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

0
Veselin Tsvetanov
Telerik team
answered on 03 Aug 2016, 07:42 AM
Hello 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
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Jon
Top achievements
Rank 1
answered on 03 Aug 2016, 07:46 AM

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

0
Veselin Tsvetanov
Telerik team
answered on 05 Aug 2016, 11:32 AM
Hi 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
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
ComboBox
Asked by
Jon
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Jon
Top achievements
Rank 1
Share this question
or