laptop and a wrench

Bug

Remove action of the Context Menu on TaskResultNode of TreeViewPlus does not remove the node on the client.

Zuletzt veröffentlicht: August 25, 2014 No Product Found
Bug-ID-Nummer NIM035736
EingereichtMay 29, 2008
Zuletzt geändertJune 5, 2024
Gilt fürNo Product Found
Gefunden in Version9.3
ProgrammspracheC#
Behoben in VersionN/A
StatusFixed

Workaround

Derek on 6\29\8 - Here is a Javascript work around. A completed application is in the Test Data Path location.<script type="text/javascript" language="javascript"> var oldFunction = String(ESRI.ADF.UI.TaskResults.prototype._remove); var newFunction = oldFunction.replace('var taskContainer = document.getElementById(this.get_contentDivId());', 'var taskContainer = parent;\n if (!parent) { taskContainer = $get(this.get_contentDivId()); }'); newFunction = String.format('{0}{1}{2}', newFunction.substring(0, newFunction.length - 5), 'else { this._remove(nodeId, taskContainer.childNodes[i]); }', newFunction.substring(newFunction.length - 5)); newFunctionBody = newFunction.replace('function(nodeId) {', ''); newFunctionBody = newFunctionBody.substring(0, newFunctionBody.length - 1); ESRI.ADF.UI.TaskResults.prototype._remove = new Function('nodeId', 'parent', newFunctionBody); </script>

Schritte zur Reproduzierung

Bug-ID: NIM035736

Software:

  • No Product Found

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