RecroGrid.GetDetailsXSLTAsync Method

Generating a form view template.

Definition

Namespace: Recrovit.RecroGridFramework
Assembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 8.3.1.24.0524.1
C#
protected virtual Task<string> GetDetailsXSLTAsync(
	Object dataRec,
	int permissionId,
	RecroGrid.TemplateModeEnum tMode,
	bool rgDefault = false
)

Parameters

dataRec  Object
The data record.
permissionId  Int32
The permission identifier.
tMode  RecroGrid.TemplateModeEnum
The template mode.
rgDefault  Boolean  (Optional)
If its value is true, then the default template is always used, disregarding any custom settings.

Return Value

Task<String>
Basic template.

Remarks

The template is created based on the parameters set in the entity and the FormTemplate.xslt template. A custom template can be specified in the RGO_FormTemplate or RGO_FormTemplateName optional parameters.

See Also