FilteringMode="StartsWith" with fixed item

2 posts, 0 answers
  1. Dandan
    Dandan avatar
    17 posts
    Member since:
    Mar 2009

    Posted 17 May 2009 Link to this post

    Hi,

    I have comboBox with checkBoxes items.  I use  FilteringMode="StartsWith" for searching. I want that when the user use "startWith", then he will get list of "startWith" items, but with another item "choose all" that always appears (with any search).
    Can I do it (item that appear always, with any search)?

    Thanks!
  2. Robert Owens
    Robert Owens avatar
    64 posts
    Member since:
    Apr 2007

    Posted 18 May 2009 Link to this post

    In my opinion you will need to override the control template and put the "always visible" checkbox above the ItemsPresenter. Then inherit from RadComboBox and handle the events from the checkbox in order to check/uncheck all items.

    ~Robert
Back to Top