laptop and a wrench

漏洞

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.

上次发布: August 25, 2014 ArcGIS Server (.NET)
漏洞 ID 编号 NIM046972
已提交July 22, 2009
上次修改时间April 2, 2025
适用范围ArcGIS Server (.NET)
找到的版本9.2
操作系统Windows OS
操作系统版本2008
修正版本9.3.1
状态Fixed

解决办法

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.

重现步骤

漏洞 ID: NIM046972

软件:

  • ArcGIS Server (.NET)

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项