Telerik Forums
UI for WPF Forum
4 answers
97 views
I have read every bit of information there is on the RadCollectionNavigator, not much out there, so now I have to ask (-:

I would like to:
- Validate before accepting a new item
- Undo a new item
- Ask fro delete confirmation
- Know how to set focus on the new item in a rad listbox

Can I do this with the RadCollectionNavigator or do I have to find another solution?
Amit
Top achievements
Rank 1
 answered on 04 Sep 2019
1 answer
38 views

I'm using the RadCollectionNavigator in a WPF UserControl.  

 

The CurrentItem Is Bound, TwoWay to a DataContext property.

 

Everytime I navigate using the RCN's navigation buttons the CurrentItem setter is called 3 times.

 

I using ReferenceEquals() to ignore additional calls to the setter with the same value but this causes other problems.

 

Will I need to override the built in navigation buttons to eliminate this behavior?

 

<telerik:RadCollectionNavigator Source="{Binding EvidenceItems}" CurrentItem="{Binding CurrentNavItem, Mode=TwoWay}"/>

 

private EvidenceGridData _CurrentNavItem;
        public object CurrentNavItem
        {
            get { return _CurrentNavItem; }
            set
            {
                if (ReferenceEquals(_CurrentNavItem, value))
                    return;

                _CurrentNavItem = value as EvidenceGridData;
                RaisePropertyChanged(nameof(CurrentNavItem));
            }
        }

Stefan
Telerik team
 answered on 02 Nov 2018
6 answers
136 views

Hello

is it possible, to bind the Edit-Button to a Command in ViewModel?

If it's not possible: could i place a Custom-Button (with VM-Command-Binding) inside the RadCollectionNavigator?

 

Kind regards

Birgit

 

Dilyan Traykov
Telerik team
 answered on 18 Jul 2017
2 answers
217 views

Hello,

i used your example of the documentation, about the RadCollectionNavigator, but I did not found any information how to autoscroll the Listbox, if the MovetoNextButton or MoveToLastItem is clicked and the Listbox size is to small to show all item without scrollbar.

Does the Controls have such kind of feature out of the box and best case MVVM friendly? Or do you have any suggestion how to implement this feature for a good customer experience? If possible I would like to avoid the datapager control.

Best regards,

Dirk

Dirk
Top achievements
Rank 1
 answered on 27 Jun 2017
3 answers
75 views
I've got a RadCollectionNavigator with Source bound to an ObservableCollection<int> in the VM and CurrentItem two-way bound to an int in the VM. When I call ObservableCollection<int>.Remove I'm expecting the RadCollectionNavigator to update and change CurrentItem, but this isn't happening. Is this something it can do or do I have to implement an update to the CurrentItem binding myself in the VM?
Yoan
Telerik team
 answered on 10 Mar 2016
1 answer
84 views
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.
Dimitrina
Telerik team
 answered on 31 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?