This is a migrated thread and some comments may be shown as answers.

Single select at branch level

1 Answer 49 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Michael Love
Top achievements
Rank 1
Michael Love asked on 19 Apr 2010, 04:45 AM
Hi there.

I have the need to be able to only allow a single selection of a node at a given level. For example, let's say my first level of nodes are states and under each state are cities within that state.

Alabama
    Mobile
    Tuscaloosa
Alaska
    Anchorage
    Fairbanks
    Juneau

If I have the Mobile node checked, then I select Archorage, Mobile would be deselected. I could however select multiple cities within a state. Is the best way to handle this to just run through the proper de-selection when the new node is clicked?

Mike

1 Answer, 1 is accepted

Sort by
0
Nikolay Tsenkov
Telerik team
answered on 19 Apr 2010, 02:27 PM
Hi Michael,

The best way to this, as you said is to run the proper deselection when the node is clicked.

Let us know if you need assistance with the implementation.

Sincerely yours,
Nikolay Tsenkov
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.
Tags
TreeView
Asked by
Michael Love
Top achievements
Rank 1
Answers by
Nikolay Tsenkov
Telerik team
Share this question
or