ESRI.ArcGIS.ADF.Web.UI.WebControls
TaskManager Class
Members  See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace : TaskManager Class




A container for tasks. Handles displaying a list of tasks in an associated navigation control.

Object Model



Syntax

Visual Basic (Declaration) 
<DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.TaskManagerDesigner, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
<ToolboxBitmapAttribute()>
<PersistChildrenAttribute(Persist=True, UsesCustomPersistence=False)>
<ToolboxDataAttribute("<{0}:TaskManager runat="server" Height="100px" Width="200px" Font-Names="Verdana" Font-Size="8pt" ForeColor="Black"> </{0}:TaskManager>")>
<DefaultPropertyAttribute("BuddyControl")>
<ParseChildrenAttribute(System.Web.UI.Control)>
Public Class TaskManager 
   Inherits CompositeControl
   Implements IBuddyControlSupport 
Visual Basic (Usage)Copy Code
Dim instance As TaskManager
C# 
[DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.TaskManagerDesigner, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
[ToolboxBitmapAttribute()]
[PersistChildrenAttribute(Persist=true, UsesCustomPersistence=false)]
[ToolboxDataAttribute("<{0}:TaskManager runat="server" Height="100px" Width="200px" Font-Names="Verdana" Font-Size="8pt" ForeColor="Black"> </{0}:TaskManager>")]
[DefaultPropertyAttribute("BuddyControl")]
[ParseChildrenAttribute(System.Web.UI.Control)]
public class TaskManager : CompositeControl, IBuddyControlSupport  

Remarks

TaskManager serves two principal functions: to organize tasks on the page, and to display a list of tasks in a navigation control. The navigation control is specified in the BuddyControl property. This allows tasks to be hidden on startup, and displayed by the user by clicking on the task name in the navigation list. It also allows the user to close and reopen tasks.

Tasks may be nested in a hierarchy. The hierarchy is specified by the NavigationPath property of the task control. The TaskManager control reads the NavigationPath values in each task, and constructs a hierarchical XML data set that is passed to the navigation control. If the NavigationPath of a task has a path (folder) name, the task appears beneath that path.

For a menu control, the menu displays a list vertically or horizontally of tasks that have no NavigationPath set, along with the top level of paths set in any NavigationPath property values. If the user hovers over a menu item created from a path, the menu expands to display the subpaths and tasks.

For a TreeView buddy control, the top-level paths and tasks appear in the root. The user may expand the tree at paths to display subpaths and tasks.

Tasks are not required to be inside a TaskManager. If the task will always be displayed, or another mechanism is added to display the task, then the task may be on the page outside of any TaskManager.

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.TaskManager

See Also

© 2010 All Rights Reserved.