I am using DateTime.MaxValue in several places. After upgrading to the latest version, it is now displaying as empty everywhere. Is there an option to either display DateTime.MaxValue or show an empty value when the date equals DateTime.MaxValue
This is what our latest version does.
Is there any option to show maxvalue instead of empty
No, it works exactly as with DateTime.MinValue.
Is there any plan to add an option to show empty or value in the upcoming release?
We don’t plan to add such option.
We are using this in several places in the application with RequiredValidator. Now the application is showing a required validation error, and the user cannot tell whether the field contains the minimum value or the maximum value.
No matter the case entering valid DateTime will resolve the validation error.
This would be very helpful if, in a future release, there is an option to show custom text when the maximum value is reached. Currently, the user cannot tell whether the field is empty (null), at the minimum value, or at the maximum value.