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

AutoComplete Client Filtering Demo is Missing Script

1 Answer 117 Views
AutoComplete
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 27 Jun 2020, 02:17 AM

The demo here: https://demos.telerik.com/aspnet-core/autocomplete/clientfiltering

is missing this script which is in the other demos.

<script>
      function onAdditionalData() {
      return {
          text: $("#[your control's name]").val()
      };

</script>

It would be helpful to be able to report these things from the page.

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 01 Jul 2020, 02:36 PM

Hello Scott,

When filtering on the client, the component does not send a request to the server to filter the data, so the script you are referring to is not actually needed.

I hope that clears the matter. Let me know if you have any further questions.

Regards,
Martin
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
AutoComplete
Asked by
Scott
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or