ESRI.ArcGIS.ADF.ArcGISServer.Editor
EditorTask Class
Members  See Also 
ESRI.ArcGIS.ADF.ArcGISServer.Editor Namespace : EditorTask Class




The EditorTask control provides a suite of tools for Web-based editing of feature layers in ArcGIS Server map services. The runtime dialog provides tools to modify, add, and remove feature geometry and attributes. The EditorTask can also be customized and extended to filter attributes, manage tools, handle events during the editing process, and manage panels.

Object Model










Syntax

Visual Basic (Declaration) 
<WebConfiguratorAttribute(ESRI.ArcGIS.ADF.ArcGISServer.Editor.EditorTaskWebConfigurator)>
<ToolboxDataAttribute("<{0}:EditorTask runat="server" Width="200px" Transparency="35" BackColor="White" TitleBarColor="WhiteSmoke" TitleBarSeparatorLine="False" TitleBarHeight="20px" BorderColor="LightSteelBlue" BorderStyle="Outset" BorderWidth="1px" Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" Font-Bold="True"> </{0}:EditorTask>")>
<DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="ESRI.ArcGIS.ADF.ArcGISServer.Editor.Design.EditorTaskDesigner, ESRI.ArcGIS.ADF.ArcGISServer.Editor, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
<ParseChildrenAttribute(ChildControlType=System.Web.UI.Control, ChildrenAsProperties=True)>
<PersistChildrenAttribute(Persist=False, UsesCustomPersistence=False)>
<ToolboxBitmapAttribute()>
Public Class EditorTask 
   Inherits FloatingPanelTask
   Implements IBuddyControlSupportITask 
Visual Basic (Usage)Copy Code
Dim instance As EditorTask
C# 
[WebConfiguratorAttribute(ESRI.ArcGIS.ADF.ArcGISServer.Editor.EditorTaskWebConfigurator)]
[ToolboxDataAttribute("<{0}:EditorTask runat="server" Width="200px" Transparency="35" BackColor="White" TitleBarColor="WhiteSmoke" TitleBarSeparatorLine="False" TitleBarHeight="20px" BorderColor="LightSteelBlue" BorderStyle="Outset" BorderWidth="1px" Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" Font-Bold="True"> </{0}:EditorTask>")]
[DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="ESRI.ArcGIS.ADF.ArcGISServer.Editor.Design.EditorTaskDesigner, ESRI.ArcGIS.ADF.ArcGISServer.Editor, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
[ParseChildrenAttribute(ChildControlType=System.Web.UI.Control, ChildrenAsProperties=true)]
[PersistChildrenAttribute(Persist=false, UsesCustomPersistence=false)]
[ToolboxBitmapAttribute()]
public class EditorTask : FloatingPanelTask, IBuddyControlSupportITask  

Remarks

The following set of limitations apply to EditorTask control capabilities:

  • The EditorTask requires an ArcGIS Server Local map service.
  • The ArcGIS Server map service can be either pooled or non-pooled.
  • While the map service can contain many different data types, editable layers for the EditorTask must be ArcSDE enterprise or workgroup layers.
  • Shapefiles and personal geodatabases cannot be edited with the EditorTask, but they can be used for other operations such as snapping.
  • Both versioned and non-versioned layers can be edited in non-pooled services, while only non-versioned layers can be edited in pooled services.
  • The data frame in the map service that contains an editable layer cannot be projected on the fly by the Web ADF or projected within the mxd.
  • If more than one feature layer share the same name in a map service, only one is editable. It is recommended that each editable layer in a map service have a unique layer name.



At runtime, the Editor panel contains a set of sub panels which contain different items depending on the purpose and feature type being edited. Editing non-versioned data will change the availability of some commands on the Editor panel. When using non-versioned data with a pooled service, the Editor panel will not contain a Undo, Redo, or Save button for pooled services. When using non-versioned data with non-pooled service, the Undo and Redo button will not be available. Undo and Redo are capabilities of a versioned geodatabase. The Save option is a capability defined by a non-pooled service.

Inheritance Hierarchy

System.Object
   System.Web.UI.Control
      System.Web.UI.WebControls.WebControl
         System.Web.UI.WebControls.CompositeControl
            ESRI.ArcGIS.ADF.Web.UI.WebControls.CompositeControl
               ESRI.ArcGIS.ADF.Web.UI.WebControls.FloatingPanel
                  ESRI.ArcGIS.ADF.Web.UI.WebControls.FloatingPanelTask
                     ESRI.ArcGIS.ADF.ArcGISServer.Editor.EditorTask

See Also

© 2010 All Rights Reserved.