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

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -