Version

Validator(String,ValidatorModel) Method

Helper to configure and render a Validator widget.
Syntax
'Declaration
 
Public Overloads Function Validator( _
   ByVal id As System.String, _
   ByVal model As ValidatorModel _
) As System.Web.Mvc.MvcHtmlString
public System.Web.Mvc.MvcHtmlString Validator( 
   System.string id,
   ValidatorModel model
)

Parameters

id
The ID of target control
model
Instance of ValidatorModel

Return Value

String that represents control
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub