C# Class Subtext.Web.Controls.Captcha.CaptchaControl

Inheritance: Subtext.Web.Controls.Captcha.CaptchaBase, INamingContainer, IPostBackDataHandler
Afficher le fichier Open project: ayende/Subtext Class Usage Examples

Private Properties

Свойство Type Description
GenerateNewCaptcha void
RenderHiddenInputForEncryptedAnswer void

Méthodes publiques

Méthode Description
CaptchaControl ( ) : System

Initializes a new instance of the CaptchaControl class.

LoadPostData ( string PostDataKey, NameValueCollection Values ) : bool

Loads the post data.

RaisePostDataChangedEvent ( ) : void

When implemented by a class, signals the server control to notify the ASP.NET application that the state of the control has changed.

Méthodes protégées

Méthode Description
EvaluateIsValid ( ) : bool

When overridden in a derived class, this method contains the code to determine whether the value in the input control is valid.

OnPreRender ( EventArgs e ) : void

Generates the captcha if it hasn't been generated already.

Render ( System.Web.UI.HtmlTextWriter writer ) : void

Private Methods

Méthode Description
GenerateNewCaptcha ( ) : void
RenderHiddenInputForEncryptedAnswer ( System.Web.UI.HtmlTextWriter writer ) : void

Method Details

CaptchaControl() public méthode

Initializes a new instance of the CaptchaControl class.
public CaptchaControl ( ) : System
Résultat System

EvaluateIsValid() protected méthode

When overridden in a derived class, this method contains the code to determine whether the value in the input control is valid.
protected EvaluateIsValid ( ) : bool
Résultat bool

LoadPostData() public méthode

Loads the post data.
public LoadPostData ( string PostDataKey, NameValueCollection Values ) : bool
PostDataKey string The post data key.
Values System.Collections.Specialized.NameValueCollection The values.
Résultat bool

OnPreRender() protected méthode

Generates the captcha if it hasn't been generated already.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs The instance containing the event data.
Résultat void

RaisePostDataChangedEvent() public méthode

When implemented by a class, signals the server control to notify the ASP.NET application that the state of the control has changed.
public RaisePostDataChangedEvent ( ) : void
Résultat void

Render() protected méthode

protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
Résultat void