ASP.NET Pack Programmer's Guide
NumericUpDown Members
Constructors Properties Methods Events
 


Represents a numeric text box with buttons to increase or decrease the displayed value.

The following tables list the members exposed by the NumericUpDown type.

 Public Constructors

  Name Description

NumericUpDown

Initializes a new instance of the NumericUpDown class.

 Public Properties

  Name Description

AllowEmptyInput

Gets or sets a value, indicating whether empty input will be considered valid.

AutoConstrain

Gets or sets a value indicating whether the value should be automatically constrained to Minimum or Maximum.

AutoPostBack

Gets or sets a value indicating whether the control will post back to the server when the value has changed.

AutoReverse

Gets or sets a value indicating whether the value should auto reverse when going below Minimum or above Maximum.

Base

Gets or sets the number system that the control uses.

ClientScriptMode

Gets or sets a value indicating which library will be used in the control's client-side scripts.

ControlLoadedScript

Gets or sets the name of a JavaScript function that should be invoked when the control is loaded.

Culture

Gets or sets the culture of the control.

DataItem

Gets or sets the data item bound to the control.

DataValueField

Gets or sets the field from the data source to bind to the Value property of the control.

DecimalDigits

Gets or sets the number of digits to display after the floating point.

DisplayType

Gets or sets the display type of the control.

Height

Gets or sets the height of the control.

IsThemed

Gets a value indicating the control has its Theme property set to a specified value.

Label

Gets or sets the caption of the control.

LabelPosition

Gets or sets the caption alignment.

LicenseKey

Gets or sets the license key of the control.

Maximum

Gets or sets the maximum possible value.

Minimum

Gets or sets the minimum possible value.

ShowButtons

Gets or sets a value indicating whether the up and down buttons are visible.

ShowThousands

Gets or sets a value indicating whether the control will display the group separator.

SmallChange

Gets or sets the amount to increase or decrease the value with when the increment or decrement buttons are pressed.

SubmitOnEnter

Gets or sets a value indicating whether the control will submit the form on pressing the Enter key.

Text

Gets the display text of the control.

TextAlignment

Gets or sets the alignment of the text inside the control.

Theme

Gets or sets the theme applied to the control.

ValidationStateChangedScript

Gets or sets the name of a JavaScript function that should be invoked when the validation state of the control changes.

Value

Gets or sets the value of the control.

ValueChangedScript

Gets or sets the name of a JavaScript function that should be invoked when the value changes

ValueInvalidScript

Gets or sets the name of a JavaScript function that should be invoked when the numeric input is invalid.

Width

Gets or sets the width of the control.

 Protected Properties

  Name Description

TagKey

WebControl.TagKey override.

 Public Methods

  Name Description

LoadFromXml

Overloaded. Loads control data from an XML file or from a System.Xml.XmlDocument.

SaveToXml

Overloaded. Saves control data to an XML file or to a System.Xml.XmlDocument.

ToString

Object.ToString override.

 Protected Methods

  Name Description

OnBeginLoad

Raises the BeginLoad event.

OnEndLoad

Raises the EndLoad event.

OnPreRender

Control.OnPreRender override.

OnValueChanged

Raises the ValueChanged event.

PerformDataBinding

DataBoundControl.PerformDataBinding override.

PerformSelect

DataBoundControl.PerformSelect override.

Render

Control.Render override.

RenderContents

WebControl.RenderContents override.

 Public Events

  Name Description

BeginLoad

Raised when the component starts loading data from a file or memory stream.

EndLoad

Raised when the component ends loading data from a file or memory stream.

ValueChanged

Raised when the value changes.

 See Also

NumericUpDown Class
MindFusion.UI.WebForms Namespace