Thanks for all your efforts - saved me lots of time to understand where to start from. I am creating a treeview dynamically, i.e. programatically using "placeholder". The javascript doee n't seem to be working in such cases. Basically I believe the
child and tree levels are spit out a bit differently. Please do let me know if anyone has a working code with dynamically created trees - i.e. the entire tree creation code is within the code-behind file rather than aspx file.
Thanks heaps.
Praveen
OK, all! To be more specific if you are using "nodestyle","nodeindent" etc... be aware that the javascript needs to be tweaked. Basically, everything depends on how .NET translates the treeview control to the underlying table, which is composed of rows
and columns. If you are going to change the formatting of the treeview, take care of the javascript to work with that resultant formatted tables(rows and columns).
prbabu
Member
26 Points
12 Posts
Re: All these work in "static" tree views
Apr 26, 2007 06:10 AM|LINK
OK, all! To be more specific if you are using "nodestyle","nodeindent" etc... be aware that the javascript needs to be tweaked. Basically, everything depends on how .NET translates the treeview control to the underlying table, which is composed of rows and columns. If you are going to change the formatting of the treeview, take care of the javascript to work with that resultant formatted tables(rows and columns).
Hope the above helps.
-Praveen