We have analyzed your query with the provided code.We are unable to reproduce the specified issue “date value is setting incorrectly”.We would like to let you know that,our date picker control default date format is mm/dd/yyyy so that the date displays as “4/1/2015”.While working with your code the datetime is passed in controller as “4/1/2015” (1st
April).That is the date value displays in datepicker control rendering.If you want to change the date format displays as “01/04/2015”,we have a property dateformat
, By setting the dateformat as “dd/MM/yyyy”, we can displays the date format as “01/04/2015”(1st
April,2015).Please find the code for setting the dateformat,
We have prepared the sample for datepicker control based on your code information and please find the sample under the following location,
Sample: SampleCould you please check with the above sample?
If still you face the same problem, please revert us by modifying the sample based on your application along with replication procedure. This would be helpful for us to serve you.
Please let us know if you have further queries.