Binding of GridViewComboBoxColumn

2 posts, 0 answers
  1. Christopher
    Christopher avatar
    1 posts
    Member since:
    Apr 2016

    Posted 04 Nov Link to this post

    Hello, 
    i am working on an mapping application with a RadGridView and only two columns, in the second column, i have foreach row a GridViewComboBoxColumn.
    The GridViewComboBoxColumn, looks in xaml like this:
    <telerik:GridViewDataColumn  DataMemberBinding="{Binding PropName, UpdateSourceTrigger=PropertyChanged}" Header="MappingPropertyItem" Width="200"/>
    Now my problem is how to bind the selectedItem to my ObservableCollection. Does anybody know how i can bind the selectedItem?
    I already took a look at this thread: http://www.telerik.com/forums/contextmenu-bind-to-selected-value-of-radgridview-combobox
    But this example didnt help me further....

    Any help is welcome, thanks in advance!
  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1128 posts

    Posted 04 Nov Link to this post

    Hello Christopher,

    Here is a help article on GridViewComboBoxColumn. The DataMemberBinding is actually a binding to the SelectedValue property of RadComboBox. If the mentioned article does not help you to accomplish your goal, you can use our support ticketing system to send us a sample project that illustrates your scenario better.

    Regards,
    Ivan Ivanov
    Telerik by Progress
    Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top