laptop and a wrench

Bogue

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

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM035736
EnvoiMay 29, 2008
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée9.3
Langue du programmeC#
Version de correctionN/A
StatutFixed

Solution de contournement

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>

Étapes pour reproduire

ID de bogue: NIM035736

Logiciel:

  • No Product Found

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement