Class Captcha
Represents the Captcha class.
Implements
System.Web.IHtmlString
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class Captcha : Control, IHtmlString
Constructors
Captcha()
Initializes a new instance of the Captcha class.
Declaration
public Captcha()
Captcha(String, CaptchaProperties)
Initializes a new instance of the Captcha class.
Declaration
public Captcha(string id, CaptchaProperties propModel)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The identifier |
CaptchaProperties | propModel | The property model |
Properties
CaptchaModel
Gets or sets the Captcha properties to the model.
Declaration
public CaptchaProperties CaptchaModel { get; set; }
Property Value
Type | Description |
---|---|
CaptchaProperties |
Context
Declaration
public RequestContext Context { get; set; }
Property Value
Type | Description |
---|---|
System.Web.Routing.RequestContext |
Model
Holds the control properties
Declaration
protected override object Model { get; }
Property Value
Type | Description |
---|---|
System.Object |
Overrides
PluginName
Gets the plugin name of the Accordion element as 'ejCaptcha'.
Declaration
public override string PluginName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
TagName
Gets or sets the name of the tag.
Declaration
public override string TagName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
CreateContainer(String)
Represents an HTML-encoded string of the Captcha control that should not be encoded again.
Declaration
public override HtmlString CreateContainer(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Returns
Type | Description |
---|---|
System.Web.HtmlString |
Overrides
CreateUnObtrusiveContainer(String)
Represents an HTML-encoded string of the Captcha control with directives.
Declaration
public override HtmlString CreateUnObtrusiveContainer(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Returns
Type | Description |
---|---|
System.Web.HtmlString |
Overrides
RenderControl()
Represents an HTML element of the Captcha control.
Declaration
public void RenderControl()
RenderElement()
Represents the Captcha render element.
Declaration
public string RenderElement()
Returns
Type | Description |
---|---|
System.String |
Implements
System.Web.IHtmlString