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

Binding to RadListView SelectedItems

1 Answer 161 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Hale
Top achievements
Rank 1
Hale asked on 19 Apr 2018, 05:10 AM

Hi,

Is it possible to databind to the SelectedItems property of RadListView? I haven't seen any samples doing this.

When I try to do it I just get InvalidOperationException: Sequence contains no matching element.

Thanks,

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 19 Apr 2018, 11:13 AM
Hi Hale,

SelectedItems property of RadListView is read-only,  and as such, the collection cannot be changed, but the items inside it can. When using binding the framework tries to entirely set the respective property instead of adding or removing specific items.  We have a feature request for implementing the required functionality, you could vote for it and track its status on the following link: ListView: SelectedItems Two-way Binding

I am sorry for any inconvenience caused.

Regards,
Yana
Progress Telerik
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
Tags
General Discussions
Asked by
Hale
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or