ASPxFormLayout.GetNestedControlValueByFieldName(String) Method
Returns a value of a control that is nested into the layout item with the specified field name.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v18.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
fieldName | String | A string value specifying the field name of a data source to which the form layout is bound. |
Returns
Type | Description |
---|---|
Object | An Object object that is a value of a control nested into the layout item with the specified field name. |
Remarks
Use the GetNestedControlValueByFieldName method to get a value of a control that is nested into the layout item with the specified field name.
Note
This method works only for the nested controls that are represented by class derived from ASPxEditBase. This method returns the ASPxEditBase.Value property value.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetNestedControlValueByFieldName(String) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.