Class NumericTextBox
Represents the NumericTextbox UI
Inheritance
System.Object
NumericTextBox
Implements
System.Web.UI.INamingContainer
System.Web.UI.IPostBackEventHandler
System.Web.UI.IPostBackDataHandler
System.Web.UI.IUrlResolutionService
Assembly: Syncfusion.EJ.Web.dll
Syntax
public class NumericTextBox : CommonControl, INamingContainer, IPostBackEventHandler, IPostBackDataHandler, IUrlResolutionService
Constructors
NumericTextBox()
Declaration
Properties
ClientSideOnChange
Triggers when change the editor value
Declaration
public string ClientSideOnChange { get; set; }
Property Value
Type |
Description |
System.String |
|
ClientSideOnCreate
Specifies the clientside Events
Declaration
public string ClientSideOnCreate { get; set; }
Property Value
Type |
Description |
System.String |
|
ClientSideOnDestroy
Specifies the destroy event
Declaration
public string ClientSideOnDestroy { get; set; }
Property Value
Type |
Description |
System.String |
|
ClientSideOnFocusIn
Triggers when focus the editor
Declaration
public string ClientSideOnFocusIn { get; set; }
Property Value
Type |
Description |
System.String |
|
ClientSideOnFocusOut
Triggers when focus out the editor
Declaration
public string ClientSideOnFocusOut { get; set; }
Property Value
Type |
Description |
System.String |
|
CssClass
Specifies the cssClass of the Editor to customize the Editor UI
Declaration
public string CssClass { get; set; }
Property Value
Type |
Description |
System.String |
|
CurrencySymbol
Specifies the currencysymbol of the CurrencyTextbox
Declaration
public string CurrencySymbol { get; set; }
Property Value
Type |
Description |
System.String |
|
DecimalPlaces
Specifies number of decimal places allowed
Declaration
public int DecimalPlaces { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
EditorType
Declaration
[JsonIgnore]
public virtual EditorType EditorType { get; }
Property Value
Enabled
Specifies the state of the Editor
Declaration
public bool Enabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnablePersistence
Load the values from the browser cookies
Declaration
public bool EnablePersistence { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnableRTL
change the Editor direction as right to left
Declaration
public bool EnableRTL { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnableStrictMode
Specifies strictmode of the Editor to validate the value
Declaration
public bool EnableStrictMode { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
GroupSeparator
Specifies groupseperator of the Editor
Declaration
public string GroupSeparator { get; set; }
Property Value
Type |
Description |
System.String |
|
GroupSize
Specifies the groupsize of the Editor
Declaration
public string GroupSize { get; set; }
Property Value
Type |
Description |
System.String |
|
Height
Specifies the height of the Editor
Declaration
public string Height { get; set; }
Property Value
Type |
Description |
System.String |
|
HtmlAttributes
Allow to add the Html Attributes to Textbox control
Declaration
public IDictionary<string, object> HtmlAttributes { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
|
IncrementStep
Specifies the IncrementStep of the Editor control
Declaration
public double IncrementStep { get; set; }
Property Value
Type |
Description |
System.Double |
|
Locale
Specifies the locale of the Editor
Declaration
public string Locale { get; set; }
Property Value
Type |
Description |
System.String |
|
MaxValue
MaxValue for the Editor control
Declaration
public double MaxValue { get; set; }
Property Value
Type |
Description |
System.Double |
|
MinValue
MinValue for the Editor control
Declaration
public double MinValue { get; set; }
Property Value
Type |
Description |
System.Double |
|
Model
Instance of the control properties clas
Declaration
public EditorProperties Model { get; set; }
Property Value
Name
Specifies the Name of the Editor
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
NegativePattern
Specifies the Negativvepattern of the Editor
Declaration
public string NegativePattern { get; set; }
Property Value
Type |
Description |
System.String |
|
PositivePattern
Specifies the positivepattern of the Editor
Declaration
public string PositivePattern { get; set; }
Property Value
Type |
Description |
System.String |
|
ReadOnly
Specifies the Readonly of the Editor
Declaration
public bool ReadOnly { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ShowRoundedCorner
Displayes the Editorn corners as rounded
Declaration
public bool ShowRoundedCorner { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ShowSpinButton
Specifies the spinbutton of the Editor to increase or decrease the value
Declaration
public bool ShowSpinButton { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ValidateOnType
Specifies validation of the Editor based on its type
Declaration
public bool ValidateOnType { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ValidationMessage
Declaration
public List<KeyValue> ValidationMessage { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.List<KeyValue> |
|
ValidationMsg
specifies the validation message of the Editor
Declaration
[JsonProperty("validationMessage")]
public Dictionary<string, object> ValidationMsg { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
|
ValidationRule
Declaration
public List<KeyValue> ValidationRule { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.List<KeyValue> |
|
ValidationRules
Specifies the ValidationRules for the Editor control
Declaration
[JsonProperty("validationRules")]
public Dictionary<string, object> ValidationRules { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
|
Value
Declaration
public string Value { get; set; }
Property Value
Type |
Description |
System.String |
|
WatermarkText
Declaration
public string WatermarkText { get; set; }
Property Value
Type |
Description |
System.String |
|
Width
Specifies the width of the Editor
Declaration
public string Width { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
DependentScripts()
Get the dependent scripts
Declaration
public List<string> DependentScripts()
Returns
Type |
Description |
System.Collections.Generic.List<System.String> |
|
GetDependentFiles()
Declaration
public override List<string> GetDependentFiles()
Returns
Type |
Description |
System.Collections.Generic.List<System.String> |
|
Overrides
LoadViewState(Object)
Restores view-state information from a previous page request.
Declaration
protected override void LoadViewState(object state)
Parameters
Type |
Name |
Description |
System.Object |
state |
|
Overrides
OnPreRender(EventArgs)
Modifying server controls before sending them to the client.
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
PostBackEventHandler(String, Dictionary<String, Object>)
Used for handling the date in form post back process
Declaration
public override void PostBackEventHandler(string EventName, Dictionary<string, object> args)
Parameters
Type |
Name |
Description |
System.String |
EventName |
|
System.Collections.Generic.Dictionary<System.String, System.Object> |
args |
|
Overrides
Render()
Declaration
Returns
Type |
Description |
System.String |
|
Render(HtmlTextWriter)
Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type |
Name |
Description |
System.Web.UI.HtmlTextWriter |
writer |
|
Overrides
UpdateServerModel(Dictionary<String, Object>)
Updates the server model with client model.
Declaration
public override void UpdateServerModel(Dictionary<string, object> ClientModel)
Parameters
Type |
Name |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
ClientModel |
|
Overrides
Events
FocusOut
Triggered when the Editor control is focusout
Declaration
public event NumericTextBox.EditorEventHandler FocusOut
Event Type
Implements
System.Web.UI.INamingContainer
System.Web.UI.IPostBackEventHandler
System.Web.UI.IPostBackDataHandler
System.Web.UI.IUrlResolutionService