Where is the "ClearButton" method in the fluent interface

2 posts, 0 answers
  1. Mike
    Mike avatar
    9 posts
    Member since:
    Apr 2011

    Posted 21 Oct 2016 Link to this post


    I'm using version 2016.3.914.545, which I believe is the latest version, and the "ClearButton" method is not available as described by the Telerik docs: http://docs.telerik.com/kendo-ui/api/aspnet-mvc/Kendo.Mvc.UI.Fluent/AutoCompleteBuilder#methods-ClearButton(System.Boolean)

    Please advise.

    In addition, is there a default way to have this control set focus to itself when the 'ClearButton' is pressed or do I have to do something custom in the 'Change' event?



  2. Rumen
    Rumen avatar
    13374 posts

    Posted 24 Oct 2016 Link to this post

    Hi Mike,

    You can disable the X button with the following CSS class

    .k-icon.k-i-close { display: none; }

    or through the autocomplete widget client API -> the clearButton configuration option.

    There is also a logged Git issue for the ClearButton server setting.

    Best regards,
    Telerik by Progress
    Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
Back to Top