How can i prevent that an item is deselected when i click on a selected item?
3 Answers, 1 is accepted
0
Ivaylo Gergov
Telerik team
answered on 13 Mar 2017, 09:20 AM
Hi John,
RadListView works with commands and particulary in this case the ItemTapCommand. You can implement it and skip its execution when needed. But keep in mind it also handles the logic for action content. Another approach is to track the SelectionChanged event, and if the item is deselected(with no other item selected) you can select it again.
I hope this helps.
Regards,
Ivaylo Gergov
Telerik by Progress
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 Feedback Portal
and vote to affect the priority of the items
I tried both solutions before but they don't work right for me.
0
Ivaylo Gergov
Telerik team
answered on 16 Mar 2017, 09:14 AM
Hello John,
Unfortunately these are the current available options.
Please, let me know if you have any questions or suggestions.
Regards,
Ivaylo Gergov
Telerik by Progress
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 Feedback Portal
and vote to affect the priority of the items