laptop and a wrench

Bug

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.

Zuletzt veröffentlicht: August 25, 2014 ArcGIS Server (.NET)
Bug-ID-Nummer NIM046972
EingereichtJuly 22, 2009
Zuletzt geändertApril 2, 2025
Gilt fürArcGIS Server (.NET)
Gefunden in Version9.2
BetriebssystemWindows OS
Betriebssystemversion2008
Behoben in Version9.3.1
StatusFixed

Workaround

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.

Schritte zur Reproduzierung

Bug-ID: NIM046972

Software:

  • ArcGIS Server (.NET)

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln