Dropdownlist Serverfilter reads Datasource only one time

2 posts, 0 answers
  1. Günter Welzel
    Günter Welzel avatar
    2 posts
    Member since:
    Sep 2009

    Posted 07 Jun Link to this post

    I have a dropwdown list, which values should be populated via ajax and server filtering based on the filterfield:

    $(document).ready(function() {
        filter: "startswith",
        dataTextField: "CustomerName",
        dataValueField: "CustomerId",
        dataSource: {
          serverFiltering: true,
          transport: {
            read: {
              url: "/managecards/carddetails/read_customers",
              data: GetCustomerFilterValue
    function GetCustomerFilterValue() {
      return { filterValue: $("#customerDropdown").data("kendoDropDownList").filterInput.val() };

    The Problem is, that the Ajax Callback happens only one time.

    For example:

    - If I type Foo, the `read_customers` action is called with Foo.
    - After that, if I write Bar, there will be no callback.

    What point is missing? I basicly want only the items that matches with the filter, because we are speaking about 50k datarows.
  2. Alexander Valchev
    Alexander Valchev avatar
    2873 posts

    Posted 09 Jun Link to this post

    Hi Günter,

    I am not sure exactly where the problem comes from. The same configuration is used in this demo where the filtering works as expected on my side.

    The only difference between the demo page and your scenario is that the demo uses oData which shouldn't be relevant to the issue that you described.

    Would it be possible to make your service public and create a Kendo Dojo example that demonstrates the issue? In this way I will be able to examine further and provide you with a concrete recommendations.

    Thank you in advance for the cooperation.

    Alexander Valchev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top