I have a hierarchical structure such as the following :
every user has some contracts associated to him, every contract has some groups associated to him, and every group has some articles.
I represent this visually using a TreeView (with checkboxes such as in http://www.codeproject.com/KB/WPF/TreeViewWithCheckBoxes.aspx) in WPF :
(every user clicked on displays this structure in a TreeView) :
>Contract1 >Group1 >Article1 >Article2 >Article3 >Article4 ... >Group2 >Group3 ------------ Add Button Remove Button -------------
Using the precedent screen, the user can Add further Articles or Contracts or Groups to his account just by checking on them and clicking Add button or remove them by clicking Remove Button.
the problem is that there are tens of thousands of articles in every Group and I don't want to bring them all in memory at once, for it would slow things down.
Can you think of any better way of handling this ?