I want to use Data Picker for a datatime field in my MVC-Form
I am using the Following code to get the Data time value,
[Required(ErrorMessage="Please enter the Absence Start Date")]
[StringLength(20,ErrorMessage="The Format must not exceed 50 Characaters")]
[DataType(DataType.DateTime )]
[Display(Name="Absence Start Date")]
public DateTime AbsenceStartDate{get;set;}
But I want to have datapicker controls beside the textbox. How could I do that?
Any help
Thank you