New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
Properties
OTPInput-specific properties to configure layout, behavior, input style, and more.
Name | Return Type | Description |
---|---|---|
Enable | bool | Gets/Sets whether the OTPInput is enabled for user interaction. |
FillMode | Telerik.Web.UI.OTPInputFillMode | Gets/Sets the visual fill mode (None, Solid, Outline, Flat). |
InputMode | string | Gets/Sets the input mode hint for virtual keyboards (e.g., numeric, text). |
Items | int | Gets/Sets the total number of input items (digits or characters). |
ItemsCollection | Telerik.Web.UI.OTPInputItem | Gets/Sets the Otp Input's items configuration. |
Placeholder | string | Gets/Sets the placeholder text shown in empty input fields. |
ReadOnly | bool | Gets/Sets whether the OTPInput is read-only. |
Rounded | Telerik.Web.UI.OTPInputRounded | Gets/Sets the border radius of input fields. |
Separator | string | Gets/Sets a visual separator character (e.g., dash or space) between items. |
Size | Telerik.Web.UI.OTPInputSize | Gets/Sets the size of the OTPInput fields (e.g., Small, Medium, Large). |
Space | bool | Gets/Sets the spacing (in pixels or characters) between individual inputs. |
Type | Telerik.Web.UI.OTPInputType | Gets/Sets the input type (Text, Number, Password). |
Value | string | Gets/Sets the current value of the OTPInput. |