How to add Clear Button in RadDropDownList

3 posts, 1 answers
  1. Zan
    Zan avatar
    19 posts
    Member since:
    Feb 2017

    Posted 11 Dec 2017 Link to this post

    Hello Telerik Team,

    I want to add Clear Button in RadDropDownList like RadTextBox.

    I have tried this in design time (Edit UI Elements >> RadDropDown TextBoxElement >> ShowClearButton).

    But Nothing was happened.

    How Can I add Clear Button in DropDownList ?

  2. Answer
    Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    2953 posts

    Posted 12 Dec 2017 Link to this post

    Hello, AungKo,

    Thank you for writing.  

    It seems to be an issue with the theme for the clear button. There is no image applied to the button element. I have logged it in our feedback portal. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.

    I have also updated your Telerik points.

    Currently, the possible solution that I can suggest is to set text for the button: 

    this.radDropDownList1.DropDownListElement.TextBox.ShowClearButton = true;
    this.radDropDownList1.DropDownListElement.TextBox.ClearButton.Text = "X";

    I hope this information helps. Should you have further questions I would be glad to help.
     
    Regards,
    Dess
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Zan
    Zan avatar
    19 posts
    Member since:
    Feb 2017

    Posted 13 Dec 2017 Link to this post

    Thank Dess.
Back to Top