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>


Parents
  • 1990
    posted

    Hello, Adegoke,

    I have been looking into the code snippet that you have provided. Could you please provide me a isolated sample application where I can reproduce the issue you are having. Also it will be great to tell me what version in 15.1 you are trying to update to. This way I would be able to further investigate this for you and provide you with more detailed information on this matter.

    Looking forward to hearing from you

    Sincerely,

    Horen

    Software Developer

    Infragistics

Reply Children
No Data