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

Edit lookup values with DataFormComboBoxField

1 Answer 45 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Benoit
Top achievements
Rank 1
Benoit asked on 11 May 2016, 03:27 PM

I have the same issue with the DataFormComboBoxField in a RadDataForm : (more detailed : http://www.telerik.com/forums/edit-lookup-values-with-dataformcomboboxfield )

Either i get the problem i first came for, either i have this one (with a GridViewComboBoxColumn or a DataFormComboBoxField):
                <telerik:GridViewComboBoxColumn Header="Retour 2"
                                                   DisplayMemberPath="Name"
                                                   DataMemberBinding="{Binding Team, Mode=TwoWay}"
                                                   ItemsSource="{Binding Paths, Source={StaticResource EscortViewModel}}"
                                                   />
With that, when i load the usercontrol, the value is not set/displayed in the column... BUT, when i change it, it calls the set of the viewmodel and update the ViewModel (so the displayed values).
What i can't find is how mix the two to display the data when the usercontrol is loaded AND update the value !
Thank you very much

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 13 May 2016, 01:37 PM
Hello Benoit,

I have already replied you in the other forum thread regarding this question: Edit lookup values with DataFormComboBoxField. In order to keep the discussion consistent I would kindly ask you to proceed with any further communication in it.

Regards,
Stefan X1
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
GridView
Asked by
Benoit
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or