It seems that there should be a sample tree application which draws a tree with icons. This to me seems like a very common scenario. Is there such a sample? If not, can you build one, and post it.
The lack of documentation for you products is alarming at the least. Someone could make a mint writing a basic tutorial for your controls.
Thanks, I'll have a look at those two samples. Basically, I have a tree where there are 3 different types of nodes, and I wanted to display a different icon based on the node type. I determine the node type based on a column retrieved from the database. Some of the node types are multi-column, so my understanding is I can't use the properties you mentioned. So, instead I've added a image column to the columnsets, and I set the image based on the node type.
I'm trying to use data binding and automatic generation of column sets.
I have the tree loading fine now. Thanks for all the help. I'll need more :)
Well, I haven't gone through all of them, but I know the UltraTree Drag and Drop sample has images.
I'm pretty sure the ULTRATREE NEWSGROUPREADER sample uses images, also.
What exactly are you trying to apply an image to? Typically you would use properties on the various appearances on the Override object. So for a Windows-Explorer-type application where expanded nodes have an open folder and collapsed nodes show a closed folder, you would do something like this:
this.ultraTree1.Override.NodeAppearance.Image = myCollapseNodeImage; this.ultraTree1.Override.ExpandedNodeAppearance.Image = myExpandedNodeImage;
I don't see any examples with images in the Tree. Can you give me the name of the sample?
There are lots of samples that show trees with images.Have you looked at the samples included in the NetAdvantage SDK?