ClientDataSource

6 posts, 0 answers
  1. Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 28 Jul Link to this post

    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);

  2. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    283 posts

    Posted 02 Aug Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 02 Aug in reply to Veselin Tsvetanov Link to this post

    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

  5. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    283 posts

    Posted 03 Aug Link to this post

    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.
  6. Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 03 Aug in reply to Veselin Tsvetanov Link to this post

    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

  7. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    283 posts

    Posted 05 Aug Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017