Is there a way to set the min and max values in the Range Validator Control's properties using some of the built-in date functions.
I want min to be the today's date minus 50 years and max + 5 years.
I've tried typing <%=DateTime.Today%> into the properties but it gives an error.
Do i need to do some namespace import?
Also, is there something built in for checking non-leap year date errors like Feb 29?
Thank you.
I want min to be the today's date minus 50 years and max + 5 years.
I've tried typing <%=DateTime.Today%> into the properties but it gives an error.
Do i need to do some namespace import?
Also, is there something built in for checking non-leap year date errors like Feb 29?
Thank you.