NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

BaseValidator Methods

The methods of the BaseValidator class are listed below. For a complete list of BaseValidator class members, see the BaseValidator Members topic.

Public:

AddParsedSubObject (inherited from Label) [To be supplied.]
ApplyStyle (inherited from WebControl) [To be supplied.]
CopyBaseAttributes (inherited from WebControl) [To be supplied.]
DataBind (inherited from Control) [To be supplied.]
Dispose (inherited from Control) Override to perform final cleanup.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
FindControl (inherited from Control) Overloaded. [To be supplied.]
GetAttribute (inherited from WebControl) Method of IAttributeAccessor.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the Object.
GetValidationProperty Helper function to get the Validation property of a control if it exists
HasControls (inherited from Control) [To be supplied.]
HasDataBindings (inherited from Control) [To be supplied.]
MergeStyle (inherited from WebControl) Merge the attributes set in the specified style that are not already set on the control.
RenderBeginTag (inherited from WebControl) Render the begin tag. This is made public so other controls can use to render multiple controls.
RenderControl (inherited from Control) [To be supplied.]
RenderEndTag (inherited from WebControl) Render the end tag. This is made public so other controls can use to render multiple controls.
SetAttribute (inherited from WebControl) Method of IAttributeAccessor.
SetRenderMethodDelegate (inherited from Control) [To be supplied.]
ToString (inherited from Object) Returns a String that represents the current Object.
Validate Validate method. Evaualate validity and update the IsValid property.

Protected:

AddAttributesToRender [To be supplied.]
BubbleEvent (inherited from Control) [To be supplied.]
BuildProfileTree (inherited from Control) [To be supplied.]
CheckControlValidationProperty Determines if the referenced control has a validation property and throws errors if it does not
ClearChildViewState (inherited from Control) [To be supplied.]
Compare Compare function. Helper function to convert to strings to the Type and compare them. Does not catch exceptions.
ControlPropertiesValid ControlPropertiesValid. Used to determine if the properties are valid so that validation is meaningful. Derived class should override this if some of their properties can get into a bad state.
CreateChildControls (inherited from Control) [To be supplied.]
CreateControlStyle (inherited from WebControl) A protected method used to create the style object that is used internally to implement all style related properties. Controls may override to create an appropriate typed style.
DesignTimeRenderInternal (inherited from WebControl) [To be supplied.]
EvaluateIsValid EvaluateIsValid abstract method. Descendents must override this with their custom validation logic
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
FindControl (inherited from Control) Overloaded. [To be supplied.]
GetControlRenderID GetControlRenderID method. Finds the control indicated by the relative name and reterns an ID that can be used on the client
GetControlValidationValue GetControlValidationValue method. Gets the validation value of the control named relative to the validator.
Init (inherited from Control) Used by control developers to initialize child controls.
InvokeBubbleEvent (inherited from Control) [To be supplied.]
IsLiteralContent (inherited from Control) [To be supplied.]
IsMarked (inherited from Control) [To be supplied.]
LoadState (inherited from Label) Load previously saved state. Overridden to synchronize Text property with LiteralContent.
Mark (inherited from WebControl) Begin tracking state changes on the control. Any changes made after "mark" will be tracked and saved as part of the control viewstate.
MaybeCreateControls (inherited from Control) [To be supplied.]
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnDataBind (inherited from Control) [To be supplied.]
OnInit OnInit method. Override to register as a validator on the Page.
OnLoad (inherited from Control) [To be supplied.]
OnPreRender (inherited from Control) [To be supplied.]
OnUnload (inherited from Control) [To be supplied.]
PreRender PreRender method.
PreRenderRecursive [To be supplied.]
RegisterCompareCommonScript RegisterCompareCommonScript method. Registers code on the page for type comparisons Derived classes that need the ValidatorCompare function on the client should call this during PreRender;
RegisterValidatorCommonScript RegisterValidatorCommonScript method. Registers code on the page for client-side validation Derived class that want to do client validation should call this during PreRender.
RegisterValidatorDeclaration RegisterValidatorDeclaration method. Registers array declarations on the page that are used by client side code.
Render Render method.
RenderChildren (inherited from Control) [To be supplied.]
RenderContents (inherited from Label) [To be supplied.]
SaveState (inherited from WebControl) Save any state that was modified after "mark".
TypeValid TypeValid function. Helper function to determine of string can be converted to type. Does not throw exceptions.

Event Hookup:

AddOnDataBind (inherited from Control) [To be supplied.]
AddOnInit (inherited from Control) [To be supplied.]
AddOnLoad (inherited from Control) [To be supplied.]
AddOnPreRender (inherited from Control) [To be supplied.]
AddOnUnload (inherited from Control) [To be supplied.]
RemoveOnDataBind (inherited from Control) [To be supplied.]
RemoveOnInit (inherited from Control) [To be supplied.]
RemoveOnLoad (inherited from Control) [To be supplied.]
RemoveOnPreRender (inherited from Control) [To be supplied.]
RemoveOnUnload (inherited from Control) [To be supplied.]

See Also

BaseValidator Class | System.Web.UI.WebControls Namespace