My class
ParcelField used as TValue="ParcelField" has property annotated as "Required" in class definition:
[Required]
public string UpdateByLogin { get; set; }
This property is not visible on the grid to the user, because it should be automatically updated in the code. When user adds new record (row) on grid, then "Update" is not working (it blocks user from finishing editing of current row), because this property "UpdateByLogin" is still null. I want to set its value in the code.
When and how is the proper place (event) to set property values of a new added record?
I tried to set value in: ActionBeginHandler and ActionCompletedHandler
if (args.Action=="Add")
{
args.RowData.UpdateByLogin = "Syncfusion";
}
, but it does not work. It still prevents user from finishing adding of new record because pressing Update does not finish editing of a new record.