ListEditItemBase.SetFieldValue(String, Object) Method
Modifies the value of the specified data field of the list item.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v18.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
fieldName | String | A String value that identifies a data field. This value specifies the name of the corresponding data field. |
value | Object | An Object that specifies the data field’s value in the list item. |
Remarks
Use the SetFieldValue method to set the value of the specified data field of the list item if an editor is bound to a data source.
If an editor is bound to a data source using the DataSourceID property, use the ASPxListEdit.ForceDataBinding to enable an editor to rebind automatically. For editors that are bound to a data source using the DataSource property, the DataBind method should be called for each request to the editor’s items.
See Also