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
830
How the ComboEditor is bound to the value of the unbound field
posted

I have an unbound field with a comboeditor in a grid:

 

 

 

 

 

 

 

 

<igDP:UnboundField Name="ProvinciaFK" Label="{x:Static props:Resources.Provincia}" BindingMode="TwoWay" Width="0.3*">

 

 

 

<igDP:Field.Settings>

 

 

 

<igDP:FieldSettings EditorType="{x:Type vpCtrl:ValProProvinciaCombo}">

 

 

 

</igDP:FieldSettings>

 

 

 

</igDP:Field.Settings>

 

 

 

</igDP:UnboundField>

the ValProprovinciaCombo is a subclass of XamComboEditor that holds the ItemsProvider and their  properties. The ItemsProvider list is correctly loaded but all the records show the same text of the combo. It seems that the ComboEditor Value is not bound to the Field. So how can I bind to the proper field?

Thanks

Parents
No Data
Reply
  • 69686
    posted

    Hello,

    You should set the BindingPath property to the name of the property that you want it to bind to.

Children
No Data