@Html.Awe().DatePickerFor year selection list items only 20

Jan 25, 2016 at 9:47 AM
Edited Jan 25, 2016 at 9:47 AM
Hi,

I am using @Html.Awe().DatePickerFor also set ChangeYear and ChangeMonth to True.

I want to have Minimum selectable years from last 50 years so applied"MinDate" to 50 years back, however when I click on year drop down it shows only 10 initially and when I select earlier date (e.g. 2006) then it shows year from 1996 to 2016. But I want list of all available years at a time
Coordinator
Jan 25, 2016 at 9:53 AM
a solution for you would be to use the plain jQueryUI (js ) control and set the yearRange:
http://stackoverflow.com/questions/13865218/jquery-ui-datepicker-set-year-range-dropdown-to-100-years
Jan 25, 2016 at 10:35 AM
Yes, thanks,

Its working fine now.