This documentation is archived and is not being maintained.
BaseValidator.RegisterValidatorCommonScript Method
.NET Framework 1.1
Registers code on the page for client-side validation.
[Visual Basic] Protected Sub RegisterValidatorCommonScript() [C#] protected void RegisterValidatorCommonScript(); [C++] protected: void RegisterValidatorCommonScript(); [JScript] protected function RegisterValidatorCommonScript();
Remarks
Use the RegisterValidatorCommonScript method to register code on the page to perform client-side validation.
Notes to Inheritors: Call this method in the Control.PreRender event handler of the derived class to register the code that performs client-side validation.
Note This method is primarily used by control developers.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
BaseValidator Class | BaseValidator Members | System.Web.UI.WebControls Namespace | Control.PreRender
Show: