barski Posted May 1, 2005 Posted May 1, 2005 I have two collection classes Customers and Orders that both implement ibinding list that are a collection of Customer and Order objects respectively. Individually they bind just fine to the datagrid but if i want to make orders a child of customers in the grid by adding a Orders property to customers a get a object doesn't match target error or something like that. After some research it appears the problem is that the grid is expecting the child to be of a Customers type. Any suggestions on how to make this happen?? Quote
barski Posted May 2, 2005 Author Posted May 2, 2005 figured it out. if listAccessors is not null in the GetItemProperties pass it the appropriate type. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.