Share via


InputElement

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

<InputElement> element associates a named control with an <input/> HTML element if the element has one of the following type=attribute values: check box, radio, text, password, submit, reset, hidden, image, or file. This topic describes the elements of <IntputElement>.

<InputElement> syntax

The following code snippet shows how <InputElement> is used:

<InputElement name="control name" type="type">
Search Path Elements
</InputElement>

Elements of <InputElement>

The following table describes the elements of the <InputElement> tag.

Element

Description

FindControl

Returns True if the control can be found on the user interface (UI), otherwise False

GetControlValue

Returns True or False (string-valued) when type="checkbox" or type="radio". Returns the value of the element for all other types.

SetControlValue

Sets to True or False when type="checkbox" or type="radio". Sets the value of the element when type="text" or type="password" or type="hidden". Throws an UnsupportedControlOperation exception for all other types.

ExecuteControlAction

Inverts an existing True or False state when type="checkbox". Sets state to True when type="radio". Returns UnsupportedControlOperation when type="text" or type="password" or type="hidden". Issues a Click() for all other types.

See Also

WebDDA
Use data driven adapters (DDAs)

Unified Service Desk 2.0

© 2016 Microsoft. All rights reserved. Copyright