laptop and a wrench

Error

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

Última publicación: August 25, 2014 No Product Found
Número de ID del error NIM035736
EnviadoMay 29, 2008
Última modificaciónJune 5, 2024
Relacionado conNo Product Found
Versión encontrada9.3
Lenguaje del programaC#
Versión corregidaN/A
EstadoFixed

Solución alternativa

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>

Pasos para reproducir

ID del error: NIM035736

Software:

  • No Product Found

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga