Aloha!
I'm currently working with the Q3 2009 version of the ASP.NET controls and seem to have hit an oddity with the RadDatePicker (and probably other) controls when setting the EmptyMessage and performing optional field validation. I've set the EmptyMessage on the control and also have a RangeValidator applied to it; validators don't typically validate empty text and this is fine on the client validation (no error) but server-side fails as the ValidationDate is set to the EmptyMessage value, causing the RangeValidator to try and validate.
Is there a way around this, short of making code changes and performing custom validation, enabling/disabling validators etc? Or should I just remove the EmptyMessage value? I've read a couple of other threads here discussing always catching the (possibly invalid) data entered in ValidationDate but in this case, there is no explicit data entry.
Thanks in advance.
Kev.
I'm currently working with the Q3 2009 version of the ASP.NET controls and seem to have hit an oddity with the RadDatePicker (and probably other) controls when setting the EmptyMessage and performing optional field validation. I've set the EmptyMessage on the control and also have a RangeValidator applied to it; validators don't typically validate empty text and this is fine on the client validation (no error) but server-side fails as the ValidationDate is set to the EmptyMessage value, causing the RangeValidator to try and validate.
Is there a way around this, short of making code changes and performing custom validation, enabling/disabling validators etc? Or should I just remove the EmptyMessage value? I've read a couple of other threads here discussing always catching the (possibly invalid) data entered in ValidationDate but in this case, there is no explicit data entry.
Thanks in advance.
Kev.