RadOTPInput
Telerik WebForms OTPInput control.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[EmbeddedSkin("OTPInput", typeof(RadOTPInput))]
[EmbeddedSkin("OTPInput", "Default", typeof(RadOTPInput))]
[RequiredScript(typeof(jQueryPlugins), 1)]
[RequiredScript(typeof(Html5OTPInput), 2)]
[ClientScriptResource("Telerik.Web.UI.RadOTPInput", "Telerik.Web.UI.OTPInput.Scripts.RadOTPInput.kendo.js", LoadOrder = 3)]
[ClientScriptResource("Telerik.Web.UI.RadOTPInput", "Telerik.Web.UI.OTPInput.Scripts.RadOTPInput.js", LoadOrder = 4)]
[ToolboxBitmap(typeof(RadOTPInput), "Toolbox.Icons.OTPInput.png")]
public class RadOTPInput : RadWebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl
Inheritance: objectControlWebControlRadWebControlRadOTPInput
Implements:
Inherited Members
Constructors
public RadOTPInput()
Properties
Defines the client events handlers.
[PersistenceMode(PersistenceMode.InnerProperty)]
public OTPInputClientEvents ClientEvents { get; }
The CssClass property will now be used instead of the former Skin and will be modified in AddAttributesToRender()
protected override string CssClassFormatString { get; }
Overrides:
If set to false, the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input.
public bool Enable { get; set; }
Sets a value controlling how the color is applied. Can also be set to the following string values: "solid"; "flat"; "outline" or "none".
public OTPInputFillMode FillMode { get; set; }
Sets the appearance of the keyboard for a devices with a virtual keyboard
public string InputMode { get; set; }
Sets the Otp Input's items configuration.
[PersistenceMode(PersistenceMode.InnerProperty)]
public OTPInputItemsCollection Items { get; }
Sets the Otp Input's items configuration.
public double ItemsCount { get; set; }
The hint displayed by the widget when the inputs are empty. Not set by default.
public string Placeholder { get; set; }
If set to false, the user will be unable to enter values within the inputs. The widget is non-readonly by default and allows user input.
public bool Readonly { get; set; }
Sets a value controlling the border radius. Can also be set to the following string values: "small"; "medium"; "large"; "full" or "none".
public OTPInputRounded Rounded { get; set; }
Adds a separator for each of the input groups.
public string Separator { get; set; }
Sets a value controlling size of the component. Can also be set to the following string values: "small"; "medium"; "large" or "none".
public OTPInputSize Size { get; set; }
If set to true, each of the input groups will not be concatenated with one another.
public bool Space { get; set; }
protected override bool SupportsRenderingMode { get; }
Overrides:
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
Sets type of the input. Can also be set to the following string values: "text"; "number" or "password".
public OTPInputType Type { get; set; }
Methods
protected override void DescribeClientEvents(IScriptDescriptor descriptor)
Overrides:
protected override void DescribeComponent(IScriptDescriptor descriptor)
Overrides:
protected override void TrackViewState()
Overrides: