laptop and a wrench

Bug

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

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM035736
SubmittedMay 29, 2008
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.3
Program languageC#
Version FixedN/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>

Steps to Reproduce

Bug ID: NIM035736

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options