FoodCandy!

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
 Gets or sets whether empty text should be validated.

Events

event CallbackServerValidateEventHandler ServerValidate
 Occurs when server-side validation occurs.

Detailed Description

Represents a callback validator.


Member Function Documentation

override void AddAttributesToRender HtmlTextWriter  writer  )  [protected]
 

Adds the attributes to render.

Parameters:
writer 

override bool EvaluateIsValid  )  [protected]
 

Evaluates whether the control's input is valid.

Returns:

override void OnPreRender EventArgs  e  )  [protected]
 

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

Parameters:
e 

virtual void OnServerValidate CallbackServerValidateEventArgs  e  )  [protected, virtual]
 

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

Parameters:
e 
Returns:

void RaiseCallbackEvent string  eventArgument  ) 
 

Executes the logic for the current callback.

Parameters:
eventArgument 

override void Render HtmlTextWriter  writer  )  [protected]
 

Renders the control.

Parameters:
writer 

The documentation for this class was generated from the following file:
  • CallbackValidator.cs
© FoodCandy, 2006-2007, All Rights Reserved | FoodCandy | Sun Oct 7 10:48:54 2007 | Doxygen 1.4.6-NO