If you create a validator in code, you can call this method to initialize the validator. See Table 39.

Table 39. HRESULT Init

Parameter

Description

pControl

The control that your validator must validate

Message

The message to display on the page if the control is not valid

 

Related Topics

IValidator Interface