I was writing some sample to use a XamComboEditor inside a grid in a template column as well as a Temple Column Layout. Is it assumed that Binding the selected item does not work the same way a standard combo works?? when i replace the XamComboEditor with a standard ComboBox the samples work as expected. I have seen on the samples site that a value converter is used to wire up the binding. Is this required. I am using ria services with EF.
Thanks
Hi spicish2222,
you could check this forum thread out.There you can find a sample solution demostrating how to use a XamComboEditor in a TemplateColumn.
HTH,
i did see that thread before posting. so just for giggles i re wrote it as my proj is in VB. i created all my own objects and it works fine. i tried to create similar test in my main project and it does not work. i am using EF and RIA. in that proj i am using the classes that are generated in the metadata file. i even went as far as overiding the 'equals' in a partial to ensure it was comapring, still no luck.
this issues seem to be related to when you access the XamComboEditor in say and editing template col. if you change the option in the editor it will update the value, it just doesnt bind automatically when you access it
again this seems to work with no isses with a standard combobox. i ran a test with one DDS and two IG grids, one with combobox in templated col and one with XamComboEdititor in templaed col adn they clearly behave different
code:
SelectedItem="{Binding myObj, Mode=TwoWay}"
???
Hello,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
If this is what you were looking for please verify the answer so it helps other users as well.
no we have not resolved the issue. i have not had time to write a sample project. due to the time lines of the current project we had to abondon that control for the time being which is quite disappointing.
Hi,
I am sorry to hear that, if you get back to researching this issue please open a new thread referencing this one’s link.
Thank you for using Infragistics components.
apparently binding does not work correctly in the XamMultiColumnComboEditor either.
very disapointing
Hello spicish2222,
I am just checking if you got this worked out, or you still require any assistance, or clarification on the matter.