This is probably just a noob question - and had I done a more thorough job reading through documentation, I'm sure I'd figure it out. However, we're running low on time so I need to check here.
I have a class structure as shown below (very simplified):
public class TestSuite { public String SomeProp { get; set; } public List<TestCase> TestCases { get; set; } } public class TestCase { public String SomeProp { get; set; } public Boolean SomeOtherProp { get; set; } public List<Message> TestCaseMessages { get; set; } } public class Message { public String SomeProp { get; set; } public Boolean SomeOtherProp { get; set; } }In my report I have the following (again simplified) structure
TestSuite header
- List (bound to TestSuite.TestCases)
- List (bound to TestCase.TestCaseMessages)
The outer list (TestCases) works great and I can access properties without issue, however the inner list (bound to TestCaseMessages) never shows any data if I use a DataSource through the DataSource wizard. On the other hand, if I set a Binding on the inner ListBox's DataSource to Fields.TestCaseMessages (relying on the DataSource of the outer list) - I can manually write Fields.SomeProp in bindings on TextBoxes inside the inner list.
I know this sounds a bit confusing - but what I would really like is for the DataSource setup to work through the wizard/property grid and not having to hack it manually. Am I doing something wrong here - or is this a bug?
Regards,
Andreas
