RecroGridDynTEntityOnValidationAsync Method

Validates the data record asynchronously.

Definition

Namespace: Recrovit.RecroGridFramework
Assembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 8.3.1.24.0524.1
C#
public virtual Task<bool> OnValidationAsync(
	IRGDataContext context,
	TEntity dataRec,
	RGClientParam param,
	RGUIMessages messages
)

Parameters

context  IRGDataContext
The data context.
dataRec  TEntity
The data record to validate.
param  RGClientParam
The client parameters.
messages  RGUIMessages
The UI messages.

Return Value

TaskBoolean
A task representing the asynchronous operation. The task result contains a boolean value indicating whether the validation was successful.

See Also