ESRI.ArcGIS.ADF.Web.UI.WebControls
NavigationPath Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > FloatingPanelTask Class : NavigationPath Property




The path to use when displaying the name of the task in a hierarchical navigation control that is buddied to the containing TaskManager control.

Syntax

Visual Basic (Declaration) 
<ResDescriptionAttribute("The path to the task as it would appear in a hierarchical data control buddied to the task's TaskManager.")>
<ResCategoryAttribute("Task")>
<BrowsableAttribute(True)>
Public Property NavigationPath As String
Visual Basic (Usage)Copy Code
Dim instance As FloatingPanelTask
Dim value As String
 
instance.NavigationPath = value
 
value = instance.NavigationPath
C# 
[ResDescriptionAttribute("The path to the task as it would appear in a hierarchical data control buddied to the task's TaskManager.")]
[ResCategoryAttribute("Task")]
[BrowsableAttribute(true)]
public string NavigationPath {get; set;}

Remarks

The Web ADF can display a list of tasks that have been added to a TaskManager. The TaskManager control automatically generates this list and displays it in its BuddyControl.

The TaskManager's BuddyControl is either a Menu control or a TreeView control. These controls accept and display a hierarchical data set in XML format. This allows the menu or tree-view to expand to display a nested hierarchy.

The task list generated by TaskResults have a hierarchical format if the NavigationPath is included in one or more tasks. The NavigationPath determines the nodes in the hierarchy for display and path to the task.

For example, if the NavigationPath is "Queries/Find Country" and the Title of the task is "Find by name", the menu control will display a "Queries" item on startup of the Web page. Queries will expand when the user hovers over it to display Find Country, which in turn displays the "Find by name" task title when hovered over. If the user clicks on Find by name, the task will open if it is not already visible.

The separator used between nodes in NavigationPath is specified by the NavigationPathSeparator property of the TaskManager control. By default it is a slash (/) character.

See Also

© 2010 All Rights Reserved.