Select Toc nodes with TOC Control

By Joey Gentry, GIS Programmer, Moscow, ID

Orange ArrowDownload the script.

Code Summary

This little bit of code is an event that the toc control contains. This allows you to select layers by clicking them on the toc. This works because toc controls inherit treeviewplus. Just make sure you add the event to your default class and add the selectedcolor attribute to the toc in the asp code.

Comments are closed.