Editar

Partilhar via


AnchorElement

<AnchorElement> element is one of the binding elements of the WebDDA.

<AnchorElement> syntax

<AnchorElement> associates a named control to an <a/> HTML element. The following code snippet shows how <AnchorElement> is used.

<AnchorElement name="control name">  
Search Path Elements  
</AnchorElement>  
  

<AnchorElement> elements

The following table describes the various elements of <AnchorElement>:

Element Descripton
FindControl Returns True or False depending on whether the control can be found on the user interface (UI).
GetControlValue Returns the URL text.
SetControlValue Throws an UnsupportedControlOperation exception.
ExecuteControlAction Navigates to the specified URL.

See also

WebDDA
Use Data Driven Adapters (DDAs)