asp.net - Override TreeNode in databound TreeView? -
i know if subclass treenode can add nodes collection within treeview. treeview working on @ moment databound, there way tell treeview type nodes should be?
thnaks,
joe
figured out. subclass treeview , override createnode method.
public class permissionstreeview : treeview { protected override treenode createnode() { return new permissionstreenode(); } }
Comments
Post a Comment