Completely reset an AutComplete from a Web Service

2 posts, 0 answers
  1. Stan
    Stan avatar
    13 posts
    Member since:
    Sep 2012

    Posted 02 Jan 2013 Link to this post

    I am having a problem here getting an AutoComplete to completely refresh.  It is actually tied to the text as well as another dropdown, so when the dropdown changes, I want to 'forget' it ever looked anything up.  Once I type into my AC, it works perfectly, but trying to reset it is proving to be a problem.  I am doing the following:

    $('#clear').on('click', function(e) {
        acManConfId.value(""); // .data("kendoAutoComplete"); object
        kendoManufacturerConfirmationIdDataSource.filter({}); //autocomplete datasource

    But I am still not getting new reads over ajax in my firebug console, it is just reading from the old data.  All I want is to have the whole thing completely reset.  Thank you.
  2. Daniel
    Daniel avatar
    2109 posts

    Posted 04 Jan 2013 Link to this post

    Hello Stan,

    You can use the autocomplete dataSource read method to reload the data from the service:;
    Kind regards,
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top