編輯

共用方式為


ButtonElement

<ButtonElement> is one of the binding elements of WebDDA. This topic describes the syntax and the elements of <ButtonElement>

<ButtonElement> syntax

The <ButtonElement> element associates a named control to a <button/> HTML element. The following code snippet shows how <ButtonElement> is used:

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

Elements of <ButtonElement>

The following table describes the elements of <ButtonElement>

Element Description
FindControl Returns True or False depending on whether the control can be found on the UI.
GetControlValue Returns the URL text.
SetControlValue Throws an UnsupportedControlOperation exception.
ExecuteControlAction Executes a Click() command on the control.

See also

WebDDA
Use Data Driven Adapters (DDAs)