This is a migrated thread and some comments may be shown as answers.

[Solved] Datepicker value not returned to model

0 Answers 14 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pablo
Top achievements
Rank 1
Pablo asked on 22 Mar 2012, 05:45 PM
I have this code

using (Ajax.BeginForm())
{  
@Html.Telerik().DatePickerFor(m => m.Fecha).Value(DateTime.Now).ShowButton(true).TodayButton().Format("dd MMM yyyy")
}
and when I submit the form the value Fecha is not returned to model.

The only way the field Fecha is returned to model is if I remove .Format("dd MMM yyyy")

How can I configure the datepicker to show the format dd MMM yyyy and post it in format dd/mm/yyyy

Thanks!!
Tags
Date/Time Pickers
Asked by
Pablo
Top achievements
Rank 1
Share this question
or