RadCollectionView two way binding?

1 Answer 9 Views
CollectionView
Robbe
Top achievements
Rank 1
Robbe asked on 24 Apr 2025, 07:41 PM

Does the RadCollectionView support two way binding?  I have a row of toggle buttons that I am trying to make work like a radio button group.  Select one, and the others get toggled off. 

I can tell all the logic and events to fire off the .UpdateValue on the other buttons but the UI does not recognize the change.  For test purposes, also threw in some code to update a label just in case it might be the ToggleButton as the issue.

Everything seems to work but the UI is not updated.  Tried wrapping a RefreshView around the RadCollectionView to no avail.

the one way binding does work.

1 Answer, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 24 Apr 2025, 07:52 PM

Hi Robbe,

For example, if you update an object from the collection, and the object's property is bound to an element in the CollectionView Template, the UI should update.

Based on the description, it seems the properties from the business model do not implement property changed. Please make sure you have implemented property changed. If they have property changed, may I ask you to send a sample in which the two way binding mode does not work?

An example with property changed implementation can be found here: https://docs.telerik.com/devtools/maui/controls/collectionview/grouping/property-group-descriptor the properties in the DataModel class implements property changed. 

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
CollectionView
Asked by
Robbe
Top achievements
Rank 1
Answers by
Didi
Telerik team
Share this question
or