Class
RadCaptcha

Represents the RadCaptcha for ASP.NET AJAX control wrapper.

Definition

Namespace:Telerik.WebAii.Controls.Html

Assembly:Telerik.WebAii.Controls.Html.dll

Syntax:

cs-api-definition
public class RadCaptcha : HtmlContainerControl

Inheritance: objectControlHtmlControlHtmlContainerControlRadCaptcha

Inherited Members HtmlContainerControl.TextContentHtmlContainerControl.InnerTextHtmlControl.FindParentContainer<TContainerControl>()HtmlControl.ValidateTag(string)HtmlControl.ValidateControl()HtmlControl.ParseResponseValue<T>(string, T)HtmlControl.GetAttributeAsString(string)HtmlControl.InitializeMappings(MappingsCollection)HtmlControl.GetRectangle()HtmlControl.IsVisible()HtmlControl.GetStyleValue(string)HtmlControl.GetStyle(string)HtmlControl.GetComputedStyleValue(string)HtmlControl.GetComputedStyle(string)HtmlControl.Parent<TContainerControl>()HtmlControl.Capture()HtmlControl.Capture(string, string)HtmlControl.Capture(string)HtmlControl.InvokeEvent(ScriptEventType)HtmlControl.InvokeEvent(ScriptEventType, bool)HtmlControl.InvokeEvent(ScriptEvent)HtmlControl.InvokeEvent(ScriptEvent, bool)HtmlControl.AddEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.RemoveEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.MouseClick()HtmlControl.MouseClick(MouseClickType)HtmlControl.MouseClick(MouseClickType, int, int)HtmlControl.MouseClick(MouseClickType, Point, OffsetReference)HtmlControl.MouseClick(MouseClickType, int, int, OffsetReference)HtmlControl.MouseHover()HtmlControl.MouseHover(Point)HtmlControl.MouseHover(int, int)HtmlControl.MouseHover(int, int, OffsetReference)HtmlControl.Click()HtmlControl.Click(bool)HtmlControl.ScrollToVisible()HtmlControl.ScrollToVisible(ScrollToVisibleType)HtmlControl.ScrollToVisible(ScrollToVisibleType, Rectangle)HtmlControl.Download(bool, DownloadOption, string, int)HtmlControl.CallMethod(string)HtmlControl.CallMethod<T>(string)HtmlControl.CallMethod<T>(string, T)HtmlControl.GetValue<T>(string)HtmlControl.GetValue<T>(string, T)HtmlControl.GetValue<T>(string, bool)HtmlControl.GetValue<T>(string, bool, T)HtmlControl.SetValue<T>(string, T)HtmlControl.SetValue<T>(string, T, bool)HtmlControl.Focus()HtmlControl.DragTo(OffsetReference, Point, int, int)HtmlControl.DragTo(OffsetReference, int, int, Rectangle, OffsetReference, int, int)HtmlControl.DragTo(Point)HtmlControl.DragTo(int, int)HtmlControl.DragTo(HtmlControl)HtmlControl.DragTo(HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, Point, HtmlControl)HtmlControl.DragTo(OffsetReference, Point, HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, int, int, bool, HtmlControl, OffsetReference, int, int, bool)HtmlControl.DragToWindowLocation(OffsetReference, int, int, bool, OffsetReference, int, int, bool)HtmlControl.ToString()HtmlControl.AsjQueryControl()HtmlControl.GetElementByTagNameClientSideLocatorHtmlControl.GetElementByIdClientSideLocatorHtmlControl.FindHtmlControl.ScrollTopHtmlControl.ScrollLeftHtmlControl.WaitHtmlControl.IDHtmlControl.CssClassHtmlControl.AttributesHtmlControl.MappingsHtmlControl.StylesHtmlControl.EventsHtmlControl.TagNameHtmlControl.ChildNodesHtmlControl.IsActiveElementHtmlControl.IsEnabledControl.Refresh()Control.AssignFailed(Exception)Control.SetTelerikComponentsVersion(TelerikComponentsVersion?)Control.MatchControl(Element, FindParam)Control.GetFamilyElement(int, Element)Control.ThrowOnInvalidAssignmentControl.TelerikComponentsVersionControl.IsRefreshControl.BaseElementControl.OwnerBrowserControl.Locator

Constructors

RadCaptcha()

Initializes a new instance of the RadCaptcha class.

Declaration

cs-api-definition
public RadCaptcha()

RadCaptcha(Element)

Initializes a new instance of the RadCaptcha class.

Declaration

cs-api-definition
public RadCaptcha(Element element)

Parameters

element

Element

Properties

AudioCurrentTime

Get the Captcha audio current time in seconds.

Declaration

cs-api-definition
public int AudioCurrentTime { get; }

Property Value

int

AudioIsEnabled

Get whether the Captcha audio code is enabled.

Declaration

cs-api-definition
public bool AudioIsEnabled { get; set; }

Property Value

bool

AudioUrl

Get/Sets the Captcha Url.

Declaration

cs-api-definition
public string AudioUrl { get; set; }

Property Value

string

CaptchaInput

Get the Input sub control of this RadCaptcha instance.

Declaration

cs-api-definition
public HtmlInputText CaptchaInput { get; }

Property Value

HtmlInputText

ClientId

Get the client Id of the Captcha control.

Declaration

cs-api-definition
public string ClientId { get; }

Property Value

string

ClientSideLocator

Get the Client side locator.

Declaration

cs-api-definition
public override string ClientSideLocator { get; }

Property Value

string

Overrides HtmlControl.ClientSideLocator

ErrorMessageDisplayed

Get the Captcha Validation.

Declaration

cs-api-definition
public bool ErrorMessageDisplayed { get; }

Property Value

bool

InputAutocomplete

Get the Captcha Input autocomplete state.

Declaration

cs-api-definition
public string InputAutocomplete { get; }

Property Value

string

InputMaxLength

Get the Captcha Input max characters length.

Declaration

cs-api-definition
public int InputMaxLength { get; }

Property Value

int

LocatorExpression

Get the locator FindParam.

Declaration

cs-api-definition
public override IFindExpression LocatorExpression { get; }

Property Value

IFindExpression

Overrides Control.LocatorExpression

ValidationErrorMessage

Get the Captcha Validation Error Message.

Declaration

cs-api-definition
public HtmlSpan ValidationErrorMessage { get; }

Property Value

HtmlSpan

Visible

Get whether the Captcha is enabled.

Declaration

cs-api-definition
public bool Visible { get; set; }

Property Value

bool

Methods

AssignElement(Element)

Assign element and initialize this control.

Declaration

cs-api-definition
public override void AssignElement(Element e)

Parameters

e

Element

The element.

Overrides HtmlContainerControl.AssignElement(Element)

ControlAssert()

Returns RadControlAssert instance initialized for this control.

Declaration

cs-api-definition
public RadControlAssert ControlAssert()

Returns

RadControlAssert

RadControlAssert instance initialized for this control.