laptop and a wrench

Error

Expanding and collapsing a node in the .NET Web ADF Table of Contents during a map callback operation will cause the node to be unusable.

Última publicación: August 25, 2014 ArcGIS Server (.NET)
Número de ID del error NIM046972
EnviadoJuly 22, 2009
Última modificaciónApril 2, 2025
Relacionado conArcGIS Server (.NET)
Versión encontrada9.2
Sistema operativoWindows OS
Versión de sistema operativo2008
Versión corregida9.3.1
EstadoFixed

Solución alternativa

Here are two solutions:A) Listen for the Toc_NodeExpanded event and insert the following lines of code. protected void Toc1_NodeExpanded(object sender, TreeViewPlusNodeEventArgs args) { if (Toc1.CallbackResults.Count < 1 && Toc1.RenderOnDemand) { args.Node.Refresh(); } }The current situation is that the TOC node is unresponsive after the user has been clicking the +/- while the map request is processing. With this code, the node can be expanded successfully once the map request finishes.B) Another option is to set RenderOnDemand = False on the TOC control. This causes the TOC swatches and nodes to be pre-cached so that clicking the + does not need to request the information. Depending on the complexity of the Map, this may result in the application startup being slightly slower.

Pasos para reproducir

ID del error: NIM046972

Software:

  • ArcGIS Server (.NET)

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga