How to get a datepicker for Html.Editorfor

后端 未结 3 1070
臣服心动
臣服心动 2021-02-08 13:14

On my MVC3 razor page I have a date field

@Html.EditorFor(model => model.Member.Dob)

Given below is the code I am trying to get a datepi

3条回答
  •  感情败类
    2021-02-08 13:42

    This article covers this perfectly: http://blogs.msdn.com/b/stuartleeks/archive/2011/01/25/asp-net-mvc-3-integrating-with-the-jquery-ui-date-picker-and-adding-a-jquery-validate-date-range-validator.aspx

提交回复
热议问题