Delete value from combobox

2 posts, 0 answers
  1. Michael Rodriguez
    Michael Rodriguez avatar
    8 posts
    Member since:
    Oct 2009

    Posted 14 Oct 2009 Link to this post

    I have a combobox that is databound to a list of business objects.  Everything works great until I want to go back in the combobox in the UI and delete the value I put in it.  The list itself has no item with a null value, so it just doesn't do anything.

    If my combobox is bound to a list of items, once I choose an item, am I stuck with having an item forever?  How do I wipe it out in the UI to make the value null again???



  2. Rosi
    Rosi avatar
    2529 posts

    Posted 16 Oct 2009 Link to this post

    Hello Michael,

    RadComboBox supports ClearSelectionButtonVisibility and  
    ClearSelectionButtonContent properties. Setting the ClearSelectionButtonVisibility property  to Visible will display a button above all items which will clear the selected value when it is clicked.

    For example:
                   ClearSelectionButtonContent="Clear All" />

    Hope this helps.

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top