index | search | no replies | posting guidelines | help | login | register |
Index » General » Site & Forum Feedback |
| |||||||
Jul 3 2007, 10:41 AM |
| ||||||
Kalemika since: Jul 3, 2007 from: somewhere | The ASP treeview is a really great control, and I'm actually curious about two aspects of it, any help on this topic would be greatly appreciated. 1) How does the treeview go about crawling the tree item database in SQL server in hierarchical order with only one SQL statement? I'm not particularly familiar with XSL so I'm not sure if the ordering is done after the fact or in the code, but I'd be curious as to the methodology as I need to crawl a database table in a similar fashion. 2) Is there any way to modify the XSL stylesheet to allow clicking on the expand/hide/node icons as well as the text of the links? Thanks a lot, Kale | ||||||
Jul 5 2007, 8:59 AM |
| ||||||
whichman from: Laurel, MD | 2. To click on the icons as well as the text, use Use the x located at http://aspwebsolution.com/articles/xmlrep/ajax_treeview2/index.htm 1. The treeview crawls using XSL (treeview.xsl). The reason I used XSL is because, stylesheets are best suited for grouping hierarchical, multi level data. All you need is for the ChildNode to know its direct parent. e.g. <Groups> will group to ------------------------- Master of the Game | ||||||
Jul 11 2007, 7:48 AM |
| ||||||
Kalemika since: Jul 3, 2007 from: somewhere | Thank you very much, this is really useful. | ||||||
Pages: (1) [1] |