I'm using Ria service for the data,
I load the data with this line :
LoadBehavior.RefreshCurrent, x => LoadFoldersCompleted(x), null);
and I bind the threeview on this line
return MainDomainContext.FolderDtos.Where(f => f.IdParent == null);
When i start the program the data doesn't show i need to refresh for it to show.
If I bind on this instead : return MainDomainContext.FolderDtos
It works directly but doesn't show the tree like i want, since it will show all folders even the ones that are children of the root.
Any reason doing this : .Where(f => f.IdParent == null); doesn't refresh or update the data once binding is done?
The treeview is in a docking and data shows if I move treeview into another place in the docks.