Show / Hide Table of Contents

Class CaptchaControl

Inheritance
object
Control
WebControl
CaptchaControl
Implements
IComponent
IDisposable
IParserAccessor
IUrlResolutionService
IDataBindingsAccessor
IControlBuilderAccessor
IControlDesignerAccessor
IExpressionsAccessor
IAttributeAccessor
INamingContainer
IPostBackDataHandler
Inherited Members
WebControl.AddAttributesToRender(HtmlTextWriter)
WebControl.ApplyStyle(Style)
WebControl.CopyBaseAttributes(WebControl)
WebControl.CreateControlStyle()
WebControl.TrackViewState()
WebControl.MergeStyle(Style)
WebControl.RenderBeginTag(HtmlTextWriter)
WebControl.RenderEndTag(HtmlTextWriter)
WebControl.RenderContents(HtmlTextWriter)
WebControl.AccessKey
WebControl.Attributes
WebControl.BackColor
WebControl.BorderColor
WebControl.BorderWidth
WebControl.BorderStyle
WebControl.ControlStyle
WebControl.ControlStyleCreated
WebControl.CssClass
WebControl.DisabledCssClass
WebControl.Style
WebControl.Enabled
WebControl.EnableTheming
WebControl.Font
WebControl.ForeColor
WebControl.HasAttributes
WebControl.Height
WebControl.IsEnabled
WebControl.SupportsDisabledAttribute
WebControl.SkinID
WebControl.TabIndex
WebControl.TagKey
WebControl.TagName
WebControl.ToolTip
WebControl.Width
Control.ResolveAdapter()
Control.HasEvents()
Control.GetRouteUrl(object)
Control.GetRouteUrl(string, object)
Control.GetRouteUrl(RouteValueDictionary)
Control.GetRouteUrl(string, RouteValueDictionary)
Control.GetUniqueIDRelativeTo(Control)
Control.ApplyStyleSheetSkin(Page)
Control.OnDataBinding(EventArgs)
Control.DataBind()
Control.DataBind(bool)
Control.DataBindChildren()
Control.AddParsedSubObject(object)
Control.EnsureID()
Control.OnInit(EventArgs)
Control.ClearChildState()
Control.ClearChildControlState()
Control.ClearChildViewState()
Control.ClearEffectiveClientIDMode()
Control.ClearCachedClientID()
Control.Focus()
Control.LoadControlState(object)
Control.MapPathSecure(string)
Control.OpenFile(string)
Control.OnLoad(EventArgs)
Control.BuildProfileTree(string, bool)
Control.SaveControlState()
Control.RenderChildren(HtmlTextWriter)
Control.RenderControl(HtmlTextWriter)
Control.RenderControl(HtmlTextWriter, ControlAdapter)
Control.OnUnload(EventArgs)
Control.Dispose()
Control.RaiseBubbleEvent(object, EventArgs)
Control.OnBubbleEvent(object, EventArgs)
Control.AddedControl(Control, int)
Control.CreateControlCollection()
Control.ResolveUrl(string)
Control.ResolveClientUrl(string)
Control.FindControl(string)
Control.FindControl(string, int)
Control.GetDesignModeState()
Control.HasControls()
Control.IsLiteralContent()
Control.EnsureChildControls()
Control.RemovedControl(Control)
Control.SetDesignModeState(IDictionary)
Control.SetRenderMethodDelegate(RenderMethod)
Control.ClientIDMode
Control.ClientID
Control.ClientIDSeparator
Control.Context
Control.Adapter
Control.DesignMode
Control.Events
Control.ID
Control.IsChildControlStateCleared
Control.ViewStateMode
Control.IsViewStateEnabled
Control.NamingContainer
Control.IdSeparator
Control.LoadViewStateByID
Control.Page
Control.RenderingCompatibility
Control.TemplateControl
Control.Parent
Control.TemplateSourceDirectory
Control.AppRelativeTemplateSourceDirectory
Control.Site
Control.Visible
Control.UniqueID
Control.HasChildViewState
Control.Controls
Control.ValidateRequestMode
Control.ViewState
Control.ViewStateIgnoresCase
Control.ChildControlsCreated
Control.IsTrackingViewState
Control.Disposed
Control.DataBinding
Control.Init
Control.Load
Control.PreRender
Control.Unload
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class CaptchaControl : WebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, INamingContainer, IPostBackDataHandler

Constructors

CaptchaControl()

Declaration
public CaptchaControl()

Properties

BackGroundColor

Declaration
public Color BackGroundColor { get; set; }
Property Value
Type Description
Color

BackGroundImage

Declaration
public string BackGroundImage { get; set; }
Property Value
Type Description
string

CaptchaChars

Declaration
public string CaptchaChars { get; set; }
Property Value
Type Description
string

CaptchaHeight

Declaration
public Unit CaptchaHeight { get; set; }
Property Value
Type Description
Unit

CaptchaLength

Declaration
public int CaptchaLength { get; set; }
Property Value
Type Description
int

CaptchaWidth

Declaration
public Unit CaptchaWidth { get; set; }
Property Value
Type Description
Unit

EnableViewState

Declaration
[Browsable(false)]
public override bool EnableViewState { get; set; }
Property Value
Type Description
bool
Overrides
Control.EnableViewState

ErrorMessage

Declaration
public string ErrorMessage { get; set; }
Property Value
Type Description
string

ErrorStyle

Declaration
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public Style ErrorStyle { get; }
Property Value
Type Description
Style

Expiration

Declaration
public int Expiration { get; set; }
Property Value
Type Description
int

IsValid

Declaration
public bool IsValid { get; }
Property Value
Type Description
bool

RenderUrl

Declaration
public string RenderUrl { get; set; }
Property Value
Type Description
string

Text

Declaration
public string Text { get; set; }
Property Value
Type Description
string

TextBoxStyle

Declaration
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public Style TextBoxStyle { get; }
Property Value
Type Description
Style

Methods

CreateChildControls()

Declaration
protected override void CreateChildControls()
Overrides
Control.CreateChildControls()

GetNextCaptcha()

Declaration
protected virtual string GetNextCaptcha()
Returns
Type Description
string

LoadPostData(string, NameValueCollection)

Declaration
public virtual bool LoadPostData(string postDataKey, NameValueCollection postCollection)
Parameters
Type Name Description
string postDataKey
NameValueCollection postCollection
Returns
Type Description
bool

LoadViewState(object)

Declaration
protected override void LoadViewState(object savedState)
Parameters
Type Name Description
object savedState
Overrides
WebControl.LoadViewState(object)

OnPreRender(EventArgs)

Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type Name Description
EventArgs e
Overrides
Control.OnPreRender(EventArgs)

OnUserValidated(ServerValidateEventArgs)

Declaration
protected virtual void OnUserValidated(ServerValidateEventArgs e)
Parameters
Type Name Description
ServerValidateEventArgs e

RaisePostDataChangedEvent()

Declaration
public void RaisePostDataChangedEvent()

Render(HtmlTextWriter)

Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type Name Description
HtmlTextWriter writer
Overrides
WebControl.Render(HtmlTextWriter)

SaveViewState()

Declaration
protected override object SaveViewState()
Returns
Type Description
object
Overrides
WebControl.SaveViewState()

Validate(string)

Declaration
public bool Validate(string userData)
Parameters
Type Name Description
string userData
Returns
Type Description
bool

Events

UserValidated

Declaration
public event ServerValidateEventHandler UserValidated
Event Type
Type Description
ServerValidateEventHandler

Implements

IComponent
IDisposable
IParserAccessor
IUrlResolutionService
IDataBindingsAccessor
IControlBuilderAccessor
IControlDesignerAccessor
IExpressionsAccessor
IAttributeAccessor
INamingContainer
IPostBackDataHandler

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS