Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
115
TemplateField two way binding to object broken on version 15.1
posted

I am on version Infragistics WPF 14.2.20142.2024

I have a template field bound to an object with AlternateBinding, and it works just fine (displays and edits with XamComboEditor). When I attempt to upgrade to 15.1, the edit fails. That is, when I select an item in the XamComboEditor, it does not flow through to the underlying object. I get some data binding in the Output. 

Here's a snippet that shows the binding in question.

<igWpf:TemplateField BindingType="UseAlternateBinding"
Name="StockEvent"
Label="Type"
AlternateBinding="{Binding Path=StockEvent,Mode=TwoWay}"
AlternateBindingRetentionMode="AutoRelease"
AllowEdit="True"
DisplayTemplate="{StaticResource dtStockEvent}">
<igWpf:TemplateField.EditTemplate>
<DataTemplate>
<ig:XamComboEditor ItemsSource="{x:Static phrcVm:MainStockViewModel.EventList}"
SelectedItem="{igEditors:TemplateEditorValueBinding}"
ItemTemplate="{StaticResource dtStockEvent}"
IsEditable="False" />
</DataTemplate>
</igWpf:TemplateField.EditTemplate>
</igWpf:TemplateField>