A newer version of this page is available. Switch to the current version.

ASPxSpinEdit.ShowOutOfRangeWarning Property

Gets or sets a value that specifies whether a warning message is displayed when an end-user types a number that is out of the range specified by the ASPxSpinEdit.MinValue and ASPxSpinEdit.MaxValue properties.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll


public bool ShowOutOfRangeWarning { get; set; }
Public Property ShowOutOfRangeWarning As Boolean

Property Value

Type Default Description


true, if the message is displayed, otherwise, false.


When the ASPxSpinEdit.MinValue and ASPxSpinEdit.MaxValue properties are specified, the numbers that are out of the specified range cannot be entered into the spin editor by end-users either by typing within the editor's edit box or by clicking editor buttons.

The ShowOutOfRangeWarning property controls whether a warning message is displayed when an end-user types an disallowed number in the editor's edit box. Note, after the editor loses focus, the number is automatically changed to the nearest allowed number.


<dx:ASPxSpinEdit ID="mySpinEdit" runat="server" Number="0" MaxValue="50" MinValue="10" ShowOutOfRangeWarning="True">



This property is a wrapper of the SpinEditProperties.ShowOutOfRangeWarning property.

See Also