I'm using XamWebComboEditor with a list of strings List<string> and I cannot get it to work. The selectedItem doesn't work at all and the editor doesn't allow to select any values. If I change the ItemsSource to be a list of custom objects List<CustomObject> with a string property and set the DisplayMemberPath, everything starts to work fine. Is it a known problem or how can I use a string list with XamWebComboEditor? Sorry I don't have any simple reproducable project for you at the moment.
Hi anttisimonen,
XamWebComboEditor can not work with list of strings List<string>, it's a known issue.
Best regards,Milena MitovaSoftware Engineer in Test INetAdvantage for Silverlight LoB
Thanks for the answer. Do you have plans on making it to work?
Hi,
This behavior is by design and currently I am not aware of any plans to change it.
Best regards,Milena Mitova
This may be dumb question
Dose the list of string have to be converted to an array?
I don't think it will make any difference as long as the items in that list/array/collection are just strings.
We also stuck up with the same issue but for XamWebGrid. Has this been sorted out? Could you pls let us know the status or workaround ?
Regards,
Mani
Like Milena told us above, this is probably not going to be "fixed" so the only solution is to use a workaround by wrapping your string to a custom object
public class CustomObject{public string MyString {get;set;}}
You can take advantage of the new object by adding additional data also to it (if wanted). Anyway, simple fix to get it working.