TreeInComboBox: Only allow lowest level selection

6 posts, 1 answers
  1. Vanja Oljaca
    Vanja Oljaca avatar
    2 posts
    Member since:
    Feb 2010

    Posted 26 Feb 2010 Link to this post

    I am using the sample TreeView In ComboBox from this blog (http://blogs.telerik.com/valerihristov/posts/09-08-27/treeview_in_combobox_take_3_silverlight_3_wpf_and_radcontrols.aspx) and it looks really good. Now I would like to modify it a little by only allowing selection of the lowest level item from the tree view. How can I disable selection of higher level items but still allow the items to be collapsed?
  2. Answer
    Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 26 Feb 2010 Link to this post

    Hi Vanja Oljaca,

    We've created new example with the needed modifications.
    Please find the attached solution.

    All the best,
    Miro Miroslavov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Vanja Oljaca
    Vanja Oljaca avatar
    2 posts
    Member since:
    Feb 2010

    Posted 17 Mar 2010 Link to this post

    Thank you and sorry for the late reply.

    I have noticed that there are multiple ways of achieving the same effect (Using a DropDownButton, overriding RadComboBox style, etc). Which method would you say is the best for WPF?

    Regards,

    Vanja
  5. Bobi
    Admin
    Bobi avatar
    513 posts

    Posted 22 Mar 2010 Link to this post

    Hi Vanja Oljaca,

    I would advice you to use DropDownButton for achieving the desired functionality.

    Greetings,
    Bobi
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  6. Bobi
    Admin
    Bobi avatar
    513 posts

    Posted 22 Mar 2010 Link to this post

    Hi Vanja Oljaca,

    I would advice you to use DropDownButton for achieving the desired functionality.

    Greetings,
    Bobi
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  7. Bobi
    Admin
    Bobi avatar
    513 posts

    Posted 22 Mar 2010 Link to this post

    Hi Vanja Oljaca,

    I would advice you to use DropDownButton for achieving the desired functionality.

    Greetings,
    Bobi
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top
UI for WPF is Visual Studio 2017 Ready