SnCore!

CallbackValidator Class Reference

Represents a callback validator. More...

List of all members.


Public Member Functions

 CallbackValidator ()
 Initializes a new instance of the Wilco.Web.UI.WebControls.CallbackValidator class.
void RaiseCallbackEvent (string eventArgument)
 Executes the logic for the current callback.
string GetCallbackResult ()
 Gets the callback result.

Protected Member Functions

override void OnPreRender (EventArgs e)
 Raises the System.Web.UI.Control.PreRender event.
override void AddAttributesToRender (HtmlTextWriter writer)
 Adds the attributes to render.
override void Render (HtmlTextWriter writer)
 Renders the control.
override bool EvaluateIsValid ()
 Evaluates whether the control's input is valid.
virtual void OnServerValidate (CallbackServerValidateEventArgs e)
 Raises the Wilco.Web.UI.WebControls.CallbackValidator.ServerValidate event.

Properties

bool ValidateEmptyText [get, set]
 Gets or sets whether empty text should be validated.

Events

event
CallbackServerValidateEventHandler 
ServerValidate [add, remove]
 Occurs when server-side validation occurs.

Detailed Description

Represents a callback validator.


Constructor & Destructor Documentation

Initializes a new instance of the Wilco.Web.UI.WebControls.CallbackValidator class.


Member Function Documentation

override void OnPreRender ( EventArgs  e  )  [protected]

Raises the System.Web.UI.Control.PreRender event.

Parameters:
e 

override void AddAttributesToRender ( HtmlTextWriter  writer  )  [protected]

Adds the attributes to render.

Parameters:
writer 

override void Render ( HtmlTextWriter  writer  )  [protected]

Renders the control.

Parameters:
writer 

override bool EvaluateIsValid (  )  [protected]

Evaluates whether the control's input is valid.

Returns:

void RaiseCallbackEvent ( string  eventArgument  ) 

Executes the logic for the current callback.

Parameters:
eventArgument 

string GetCallbackResult (  ) 

Gets the callback result.

virtual void OnServerValidate ( CallbackServerValidateEventArgs  e  )  [protected, virtual]

Raises the Wilco.Web.UI.WebControls.CallbackValidator.ServerValidate event.

Parameters:
e 
Returns:


Property Documentation

bool ValidateEmptyText [get, set]

Gets or sets whether empty text should be validated.


Event Documentation

event CallbackServerValidateEventHandler ServerValidate [add, remove]

Occurs when server-side validation occurs.


The documentation for this class was generated from the following file:
  • CallbackValidator.cs
© Vestris Inc., 2006-2007, All Rights Reserved | SnCore | Wed Mar 5 09:56:27 2008 | Doxygen 1.5.4