ESRI.ArcGIS.ADF.Tasks
SearchAttributesTask Class
Members  See Also 
ESRI.ArcGIS.ADF.Tasks Namespace : SearchAttributesTask Class




Web ADF task for finding features in one or more map layers by searching the attributes of multiple fields.

Object Model






Syntax

Visual Basic (Declaration) 
<ToolboxBitmapAttribute()>
<WebConfiguratorAttribute(ESRI.ArcGIS.ADF.Tasks.SearchAttributesTaskWebConfigurator)>
<DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="ESRI.ArcGIS.ADF.Tasks.Design.Designers.SearchAttributesTaskDesigner, ESRI.ArcGIS.ADF.Tasks, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
<ToolboxDataAttribute("<{0}:SearchAttributesTask 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"> </{0}:SearchAttributesTask>")>
Public Class SearchAttributesTask 
   Inherits FloatingPanelTask
   Implements IBuddyControlSupportIRelatesOnDemandProviderITask 
Visual Basic (Usage)Copy Code
Dim instance As SearchAttributesTask
C# 
[ToolboxBitmapAttribute()]
[WebConfiguratorAttribute(ESRI.ArcGIS.ADF.Tasks.SearchAttributesTaskWebConfigurator)]
[DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="ESRI.ArcGIS.ADF.Tasks.Design.Designers.SearchAttributesTaskDesigner, ESRI.ArcGIS.ADF.Tasks, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
[ToolboxDataAttribute("<{0}:SearchAttributesTask 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"> </{0}:SearchAttributesTask>")]
public class SearchAttributesTask : FloatingPanelTask, IBuddyControlSupportIRelatesOnDemandProviderITask  

Remarks

The SearchAttributesTask enables users of a Web application to find features in multiple map layers based on the attribute values in the layers. The layers and fields to search are defined by the author of the application and stored in the SearchFields property. Typically this is done in the Manager application, using the configurator for the task, or in the Visual Studio design environment, by using the design-time task editor for the task.

The task uses a GIS service from one of several types of servers, including ArcGIS Server, ArcIMS and ArcWeb Services. The service is defined by settings included in the SearchFields property.

For detailed discussion of the SearchAttributesTask, see the Developer Help topic "SearchAttributesTask control", under Creating ArcGIS Server Solutions->Developing Applications->Developing Applications using the Web ADF->Web controls (also available online at the ArcGIS Resource Center).



Limitations: Feature layers in a map resource must have unique layer names to work with the SearchAttributesTask.

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.Tasks.SearchAttributesTask

See Also

© 2010 All Rights Reserved.