laptop and a wrench

Bug

Need documentation on usage of FindValueByNode method in the TreeViewPlus class of the .NET Web ADF Reference.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM011389
SubmittedAugust 31, 2007
Last ModifiedApril 2, 2025
Applies toNo Product Found
Version found9.2
Program languageC#
Version Fixed9.3
StatusFixed

Workaround

The valuepath string sytax for FindValueByNode method : "<resourcename>" or "<resourcename>/<layerid>"Sample Code to find all possible valuepaths for a given TOC Control:C#:===foreach (TreeViewPlusNode t1 in Toc1.Nodes){ // get value path of earch resource if needed string rvp = t1.ValuePath; //get the name of the resource string rname = t1.Text foreach (TreeViewPlusNode t2 in t1.Nodes) { //get the valuepath of each layer inside the resource string vpath = t2.ValuePath; //get the name of layer string layername = t2.Text; }}

Steps to Reproduce

Bug ID: NIM011389

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options