The Portrate Interview Engine

SingleColumnFormRenderer.Render Method 

Creates an HtmlTable with two columns in it. The first column is the label for the controls and the second column contains the input control. Each row in the table is given a style class of either 'Portrate_Interview' or 'Portrate_Interviewalt'. Each label cell is given a style class of 'Portrate_Label_Control'. The input column cells are given a style class of 'Portrate_Interview'. The resulting table has a style class of 'Portrate_Interview'.

 Here is the result style sheet: TABLE.Portrate_Interview { } TR.Portrate_Interview { } TR.Portrate_Interviewalt { } TD.Portrate_Interview { } TD.Portrate_Label_Control { } 

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

Parameters

formRef
The form to render
ctx
errors

Return Value

An instance of HtmlForm

Implements

IDPLFormRenderer.Render

See Also

SingleColumnFormRenderer Class | Portrate.Interview.View.Renderers Namespace