|118502||Feb 13,2014 10:50 PM UTC||Mar 16,2015 07:15 AM UTC||ASP.NET MVC||4|
Thanks for using Syncfusion Products.
We are afraid that we are unable to reproduce the issue reported by you. Can you please attach the full sample in this incident or modify our sample , so that we could sort out the cause of the issue and provide you a solution. Please find the sample from the attachment.
Please let us know if you would require any further assistance.
Madhu Sudhanan. P
We suggest you to pass the DateFormat and Value through model from the controller to achieve this behavior. Please find the below code for the same,
public ActionResult Index()
Incident inc =new Incident();
DatePickerProperties datemodel = new DatePickerProperties();
datemodel.Locale = "en-US";
datemodel.DateFormat = "dd-MM-yyyy";
ViewData["date"] = datemodel;
And please find the below code for the view page to render DatePickerFor control,
Also, we have prepared the sample based on this and please find the sample under the following location,
Sample: DatePickerFor Sample
Please let us know if you have further queries.
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.