Hi,
Here is the problem :
I have a binding source (bsCustomers) filled with neccessary data from the database with entity framework.
When i checked the bsCustomers i can see the values are not NULL.
My treeview control`s (rtvCustomers) datasource is bsCustomers and I want to assign rtvCustomers.DisplayMember to Name field which is in tbContacts.
bsCustomer has --> tbContact.
tbContact has --> Code, Name.
So when i say
it doesnt work. (In radgridview such assignment (
"tbContact.Name") works properly.)
As a solution in NodeCollectionChange
and it worked. I filled the treeview with customer Names. But i guess there must be another solution.
So is there any other solution to get treeview filled with Names?
Thanks.