-
Currently, I am unable to reproduce the problem you described. I have created sample project, which works correctly on our side. Please review it.
-
Hi Elliot,
thanks for the sample!
To reproduce the problem, please change the line:
r.DataSource = new BindingSource() { DataSource = new Media() };
to:
var collection = new XPCollection<Media>(XpoDefault.Session, false);
collection.Add(new Media());
r.DataSource = collection;
Best regards,
Joern -
Thank you for your clarification. I was able to reproduce this problem on our side. I will forward this issue to our R&D team, and we will contact you as soon as we get any results. Please bear with us.
1 Solution
Hi Joern,
Please add the "NonPersistent" attribute to the Format class to avoid this problem.
[C#]... [NonPersistent] public class Format { public string Name { get; set; } } ...
Thanks,
Elliot
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.
Facebook
Twitter
Google+