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

Custom Commands

1 Answer 85 Views
CollectionNavigator
This is a migrated thread and some comments may be shown as answers.
Jerome
Top achievements
Rank 1
Jerome asked on 25 Jan 2013, 08:00 PM
Howdy. I know this component is fairly new... but is there anyway to set the Add and Delete commands? Basically, they need to do things in my view model. As far as I can tell, they seem currently hard coded to actually add or remove items from the underlying collection.

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 31 Jan 2013, 11:57 AM
Hello,

Indeed those commands are CommandButtonsVisibility.Add and CommandButtonsVisibility.Delete. You cannot replace them with setting a property. You can check this help article about the visual structure of the RadCollectionNavigator. 

What you can do is to edit the template of the RadCollectionNavigator and replace the parts you would like.

I hope this helps.

Kind regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
CollectionNavigator
Asked by
Jerome
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or