Home - Forums-.NET - FlyTreeView (ASP.NET) - Any way to individually specify URL's for checkboxes, etc?

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

Any way to individually specify URL's for checkboxes, etc?
Link Posted: 05-Dec-2006 17:30
Using the built-in $ images is a good way to utilize the packaging of embedded resource images in the FlyTreeView DLL, but if you want to specify ImageSet=\"Custom\" and ImageSetCustomPath to a directory containing files like chb0 and chb1, you cannot specify the urls individually.

The problem that presents is that I also want to embed my custom images in a web resource DLL, so that I don't have to worry about broken image paths. If I cannot specify the url to them with a webresource.axd file, I have no way to do that. I have no problem embedding the many ImageUrl's I use, because I can specify their paths and that I have done.

Is there some exotic way to do this that I missed in the documentation? The FlyTreeNodeStaticStyle which derives from FlyTreeNodeStyle does not have any properties that would allow me to specify indent, checkbox or radiobutton image URL's at either the tree level or the node level. Would you be thinking of exposing these properties in a future version? (and this is a reason why it would be worthwhile).

Thanks in advance...
Link Posted: 05-Dec-2006 21:45
What do you need this for?

Yes, currently you can point your imageset to a custom location. But cannot point to some DLL.

The exotic way...  8)  Yes, probably you can ildasm assembly, embed your own resources, modify webresources index and compile back using ilasm. But this way is definitely exotic and requires some knowledge of IL.

Or in case when you have source code license then you can simply add new resources to the control project and build your own control assembly.
Link Posted: 06-Dec-2006 03:05
Thanks for the answer. And of course we don't REALLY need this. However when a custom control derived from FlyTreeView is deployed, it would be nice to not have to worry about an icons directory and icons as it makes it's way to various projects through integration, QA and production.

Source code is a possible option. I might be able to ildasm and ilasm, but the REALLY part is a matter of time versus value.

Thanks,

Wray