RSS

Tag Archives: telerik datetimepicker previous date disabled+silverlight

How to disable previous date in Rad Date Picker


if you want to disable the Previous date selection, you may use SelectableDateStart property of RadDatePicker.
Here is a sample code:

txtStartDate.SelectableDateStart = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day);
txtEndDate.SelectableDateStart = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day);

Or

// txtStartDate.SelectableDateStart = DateTime.Today;

//txtEndDate.SelectableDateStart = DateTime.Today;

 
Leave a comment

Posted by on January 31, 2012 in Silverlight

 

Tags: , , ,