BoldSignA modern eSignature application with affordable pricing.
Sign up today for unlimited document usage!
for contacting Syncfusion forums.
requirement setting the start date in Datepicker can be achieved using MinDate
property of the control. Please refer the below code snippet.
public ActionResult Index()
DatePickerModel model = new DatePickerModel();
//To set the start
// You can also set the date like this
model.MinDate = DateTime.Today.Date;
model.MinDate = new
DateTime(2013, 01, 10);
//To set the end date
model.MaxDate = new DateTime(2013, 12, 10);
// To set the
model.DefaultDate = new DateTime(2013,
model.DisplayDefaultDateOnLoad = true;
ViewData["date"] = model;
have also prepared a simple sample for your convenience and it can be
downloaded from the below link.
have a look at the sample and let us know if it helps.