Telerik.Web.UI.NumericTextBoxSetting
Class holding settings determining the how the number will be displayed.
Inheritance Hierarchy
- System.Object
- Telerik.Web.UI.InputSetting : IStateManager
- Telerik.Web.UI.NumericTextBoxSetting : IRadNumericTextBox
Properties
AllowRounding Boolean
Gets or sets the value that indicates whether the value will be rounded.
BehaviorID String
Gets or sets a value to access the client-side behavior.
Remarks
In cases where you would like to access the client-side behavior for your setting from script code in the client, you can set this BehaviorID to simplify the process. See example below:
ClearValueOnError Boolean
Gets or sets a value indicating whether the value entered into the textbox should be cleared on error.
ClientEvents InputManagerClientEvents
Gets or sets an instance of the InputManagerClientEvents class which defines the JavaScript functions (client-side event handlers) that are invoked when specific client-side events are raised.
Culture CultureInfo
Gets or sets the culture used by NumericTextBoxSetting to format the numburs.
DecimalDigits Int32
Gets or sets the number of decimal places to use in numeric values
DecimalSeparator String
Gets or sets the string to use as the decimal separator in values.
DisabledCssClass String
Gets or sets the css style for TextBox when when the control is disabled.
EmptyMessage String
Gets or sets a value message shown when the control is empty.
Remarks
Shown when the control is empty and loses focus. You can set the empty message text through EmptyMessage property.
EmptyMessageCssClass String
Gets or sets the css style for TextBox when when the control is empty.
EnabledCssClass String
Gets or sets the css style for enabled TextBox control.
ErrorMessage String
Gets or sets the text for the error message displayed in the control when validation fails.
FocusedCssClass String
Gets or sets the css style for invalid state of TextBox control.
GroupSeparator String
Gets or sets the string that separates groups of digits to the left of the decimal in values.
GroupSizes Int32
Gets or sets the number of digits in each group to the left of the decimal in values.
HoveredCssClass String
Gets or sets the css style for hovered TextBox control.
InitializeOnClient Boolean
Gets or sets a value indicating the control should be initialized on client or not.
InvalidCssClass String
Gets or stes the css style for invalid state of TextBox control.
InvalidStyleDuration Int32
Gets or sets the time, in milliseconds, the InvalidStyle should be displayd. Must be a positive integer.
IsValid Boolean
Gets if the TargetControls in the InputSettings are successfully validated.
KeepTrailingZerosOnFocus Boolean
Gets or sets whether the control will keep its trailing zeros (according to the DecimalDigits setting) when focused.
MaxValue Double
Gets or sets the largest possible value of a NumericTextBoxSetting.
MinValue Double
Gets or sets the smallest possible value of a RadNumericTextBox.
NegativeCssClass String
Gets or sets the CSS style applied to control when is negative.
NegativePattern String
Gets or sets the format pattern for negative values.
PositivePattern String
Gets or sets the format pattern for positive values.
ReadOnlyCssClass String
Gets or sets the css style for Read Only state of TextBox control.
SelectionOnFocus SelectionOnFocus
Gets or sets whether the text in the control selected on focus and how.
TargetControls TargetControlCollection
Gets a collection of TargetInput objects that allows for specifying the objects for which input will be created on the client-side.
Remarks
Use the TargetControls collection to programmatically control which objects should be inputtipified on the client-side.
Type NumericType
Gets or sets the type of the RadNumericTextBox.
Validation InputSettingValidation
Gets an instance of the InputSettingValidation class which defines the validation behavior.
ZeroPattern String
Gets or sets the format pattern for zero values.
Methods
Validate
Validates the specified control with supplied context.
Parameters
input System.Web.UI.WebControls.TextBox
The control.
context System.Object
The context.
Returns
System.Void
Validate
Validates the specified control.
Parameters
input System.Web.UI.WebControls.TextBox
The control.
Returns
System.Void
Validate
Validates the specified control.
Parameters
input System.Web.UI.WebControls.TextBox
The control.
Returns
System.Void
Validate
Validates the specified control with supplied context.
Parameters
input System.Web.UI.WebControls.TextBox
The control.
context System.Object
The context.
Returns
System.Void