I need to validate that the minimum date to select is equal to 6 months before the current date.
For example: Today's date = 21.10.2015
this.dt_Date.MaxDate = DateTime.Now; so
MinDate = 04.21.2015
1 Answer, 1 is accepted
0
Accepted
Vasil
Telerik team
answered on 26 Oct 2015, 06:45 AM
Hi Isabel,
In C# you can use this approach:
MinDate = DateTime.Now.AddMonths(-6);
Regards,
Vasil
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items