public ActionResult DatePickerFeatures(DateTime_pick model) { DateTime_pick dat1 = new DateTime_pick(); dat1.datepic = DateTime.Now; DateTimePickerProperties dt = new DateTimePickerProperties(); dt.DisplayInline = true; dt.DateFormat = "dd/MMM/yyyy"; return View(model); } |
public ActionResult Index(DateTime_pick model) { DateTime_pick dat1 = new DateTime_pick(); dat1.datepic = DateTime.Now; DateTimePickerProperties dt = new DateTimePickerProperties(); return View(model); } |
@model SyncfusionMvcApplication5.Models.DateTime_pick <div class="control"> @Html.EJ().DatePicker("DatePick").DateFormat("MM/dd/yyyy").ShowOtherMonths(true).EnableRTL(false).Locale("en-US") @Html.EJ().DateTimePickerFor(model => model.datepic,(Syncfusion.JavaScript.Models.DateTimePickerProperties)Session["data"]) </div> |
@model SyncfusionMvcApplication5.Models.DateTime_pick @Html.EJ().DateTimePickerFor(model => model.datepic, (Syncfusion.JavaScript.Models.DateTimePickerProperties)Session["data"]) |