Customer Service | Training | Contact Us
You are here: Home > Downloads > ArcScripts > Search Results > Script Details Login | Feedback | Help

Select Toc nodes with toc control



contact author | download help | add bookmark | view bookmarks
Author Joey Gentry
File Name tocselect.zip
Language VB.net
Last Modified Feb 26 2007
Status of work Public Domain
Software ArcGIS Server
File Size 571 bytes
Downloads 672

ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.


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 you default class and add the selectedcolor attribute to the toc in the asp code.