control.findImmediateChildRecordControlByXmlNode()
- Last UpdatedJun 25, 2024
- 1 minute read
Use findImmediateChildRecordControlByXmlNode() method to find a control with a specific XML node in the child record (but not its children) of a container.
Here controls is applicable only to containers and its records.
Syntax
control.findImmediateChildRecordControlByXmlNode(mappedXMLnode);
Parameters
|
Parameter |
Description |
|---|---|
|
mappedXMLnode |
XML node of the control to search in the immediate child record but not its children. |
Return Value
This method returns a control object.
Example
// Set a value for the Text control.
control.findImmediateChildRecordControlByXmlNode("EmployeeName").value = "John Doe";