Design multiple Treeviews with common functionality

junglelist

New Member
We have 4 TreeView Controls in an asp.net application.Each TreeView is bound to another business object.There are common methods each TreeView has like:
  • A TreeView can be searched
  • A Node can display an icon like Node is closed/disabled/forbidden etc...
  • lazy loading of children on node click
  • A TreeView display a Name and internal saves the Id
Then there are the extra methods for single TreeViews:
  • extra stuff
How would you start the design? Would you go for a base TreeView inherit from TreeView?
 
Back
Top