laptop and a wrench

不具合

The table of contents cannot toggle the visibility of a graphicslayer.

最後に公開された状態: August 25, 2014 No Product Found
不具合 ID 番号 NIM011133
送信されましたAugust 21, 2007
最終更新日June 5, 2024
適用対象No Product Found
見つかったバージョン9.2
プログラム言語C#
修正されたバージョン9.3
ステータスFixed

対処法

THe workaround listed below works, but does require the user to zoomin/out or interact with the map in some manner after unchecking the box, so its not really a valid workaround. Another workaround would be to disable the checkbox next to the graphics datatable. The workaround is to turn off the alert window by commenting out the code in JavaScript. And then put code in Toc1_NodeChecked event. Please follow the steps.1. Set UseDefaultWebResources property of all ADF web controls as false.2. Open display_dotnetadf.js in the folder <a href="file:C:/Inetpub/wwwroot/aspnet_client/ESRI/WebADF/JavaScript" target="_blank">C:\Inetpub\wwwroot\aspnet_client\ESRI\WebADF\JavaScript</a>3. Comment out this line of code:alert("An unhandled exception has occurred:" + argument);4. Put the server side code into Toc1_NodeChecked event, such as: protected void Toc1_NodeChecked(object sender, ESRI.ArcGIS.ADF.Web.UI.WebControls.TreeViewPlusNodeEventArgs args) { if (Toc1.Nodes[0].Nodes[0].Checked) { //to do } else { } }

再現の手順

不具合 ID: NIM011133

ソフトウェア:

  • No Product Found

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動