A tooltip hint displayed on form editors can help you deliver useful information to your end-users. You can now provide a tooltip with the DevExpress ASP.NET Spin Edit and Date Edit controls when displaying range values.
The new feature is part of the v14.2 release. DevExpress ASP.NET Spin Edit and Date Edit controls now display a tooltip hint when an end-user tries to input a value that doesn't fall into a valid range into the editor:
Why?
The DevExpress ASP.NET Spin Edit and Date Edit controls provided a way to restrict an end-user (based on your editor settings). For example, you could set min and max values for the Spin Edit, and an end-user could not enter a value outside this range.
However, an end-user did not get any visual indication. So if they entered a value outside the range then they had no indication from the editor about what went wrong and why the value they entered was reset.
So, in the latest release (v14.2), the DevExpress ASP.NET Spin Edit and Date Edit controls display a tooltip hint with an indication that the value being input is incorrect.
This feature improves the usability for end-users working with your websites that use DevExpress ASP.NET Date Edit and Spin Edit controls.
How to enable
Good news, you do not need to set any property/event/method to turn this feature on. We enable it automatically when the Spin Edit or Date Edit control has configured range settings.
Spin Edit:
Date Edit:
This is not a validation!
Please do not confuse this feature with client-side validation.
Client-side validation is usually performed when an editor loses focus: for example, when you click the Submit button.
The main difference between client-side validation and this tooltip is that the tooltip does not wait till an end-user has already finished editing a value in the editor. Instead, the tooltip is displayed at the exact moment when you are trying to input an invalid value. If the value falls within the range then we hide the tooltip. However, if you did not corrected an out-of-range value before the editor lost focus, then the editor will also hide the tooltip and just restore a previously entered valid value.
ASP.NET and MVC
This functionality of the DevExpress ASP.NET Spin Edit and Date Edit controls is available for both ASP.NET WebForms and MVC.
Test drive the online demos to see this functionality in action here:
We would love to hear your feedback about this new usuability improvement of the DevExpress ASP.NET Spin Edit and Date Edit controls. Drop us a line below, thanks!
Your Next Great .NET App Starts Here
Year after year, .NET developers such as yourself consistently vote DevExpress products #1.
Experience the DevExpress difference for yourself and download a free 30-day trial of all our products today: DevExpress.com/trial (free support is included during your evaluation).