laptop and a wrench

不具合

Changing the text of a TaskResults control's ContextMenuItem prevents the item's click event from executing properly.

最後に公開された状態: August 25, 2014 No Product Found
不具合 ID 番号 NIM010104
送信されましたJuly 3, 2007
最終更新日December 20, 2024
適用対象No Product Found
見つかったバージョン9.2
ステータスWill Not Be Addressed

参考情報

No Public Explanation

対処法

I don't know why this workaround works, but it does:In page load, run code (like that below) that will reset the menu caption to its original value ("Remove", e.g.). The altered caption will appear in the menu (TaskResults_Load will run after page load), but now the click event will run as expected (!).//call this function at the end of Page_Load - ResetItemText(2, "Remove"); void ResetItemText(int itemIndex, string itemCaption) { ContextMenu mnuResultsCtx = TaskResults1.TaskResultContextMenu; if (mnuResultsCtx.Items.Count > 0) { ContextMenuItem cmi = (ContextMenuItem)mnuResultsCtx.Items[itemIndex]; cmi.Text = itemCaption; } }

再現の手順

不具合 ID: NIM010104

ソフトウェア:

  • No Product Found

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

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

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

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

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

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

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