// GET: DateTimePicker post back public ActionResult PostBack() { var model = new DateTimePickerPostBack(); model.value = DateTime.Now; return(View(model)); }
public ActionResult PostBack(DateTimePickerPostBack model) { return(View(model)); }