The Portrate Interview Engine

IDPLFormRenderer.Render Method 

Returns a UI control that contains the visual elements of the form. The elements are prepopulated with their current values or a default value, if one is defined. If there are errors associated with a specific control, then a label should be added to the returned control indicating the error.

[Visual Basic]
Function Render( _ 
   ByVal formRef As DPLFormRef, _ 
   ByVal ctx As DataContext, _ 
   ByVal errors As Hashtable _ 
) As Control
[C#]
Control Render(
   DPLFormRef formRef,
   DataContext ctx,
   Hashtable errors
);
[C++]
Control* Render(
   DPLFormRef* formRef,
   DataContext* ctx,
   Hashtable* errors
);
[JScript]
function Render(
   DPLFormRef formRef,
   DataContext ctx,
   Hashtable errors
): Control;

Parameters

formRef
The form to render
ctx
The current data context
errors
Errors associated with the form

Return Value

A UI control to include in the display

See Also

IDPLFormRenderer Interface | Portrate.Interview.View Namespace