ASP.NET Pack Programmer's Guide
NumericUpDown.get_autoReverse Method
See Also
 





Gets a value indicating whether the value should auto reverse when going below minimum or above maximum.

Namespace: MindFusion.UI.WebForms
Package: NumericUpDown.js

 Syntax

JavaScript  Copy Code

function get_autoReverse ()

 Return Value

Type: Boolean
true if the value auto reverses, otherwise false.

 Example

If the current value equals 100 and auto reverse is enabled (all other properties are set to default), incrementing the value will change it to 0 (the minimum set).

JavaScript  Copy Code

// enable auto reverse
numericUpDown.set_autoReverse(true);
numericUpDown.set_value(100);
numericUpDown.increment();

// value will now be 0;
alert(numericUpDown.get_value());

 See Also

NumericUpDown Members
NumericUpDown Class
MindFusion.UI.WebForms Namespace