Hi.
For an optionlist we uses a RadTreeView with optionlist enabled. We are also using MVVM(light toolkit) and here we have an observable collection of the options the user could have. There is a property for the selectedItem as the user only can select one option. For this binding is working as expected and sets the context hasChanges to true. The way it works now is that the user clicks on the Item and there is an event on the view(bad MVVM i know...) that sets the radiobutton to ON. But I have not found a way of setting the selecteditem when the user clicks inside the radiobutton. Do I need to write som more view codebehind or is this something that can easily be solved with MVVM and bindings?
Regards
Øystein
For an optionlist we uses a RadTreeView with optionlist enabled. We are also using MVVM(light toolkit) and here we have an observable collection of the options the user could have. There is a property for the selectedItem as the user only can select one option. For this binding is working as expected and sets the context hasChanges to true. The way it works now is that the user clicks on the Item and there is an event on the view(bad MVVM i know...) that sets the radiobutton to ON. But I have not found a way of setting the selecteditem when the user clicks inside the radiobutton. Do I need to write som more view codebehind or is this something that can easily be solved with MVVM and bindings?
Regards
Øystein