asp.net - Telerik RadDatePicker not picking up dates post year 2030 -
i using raddatepicker control start , end date input controls on form.
taking "01/01/1980" min date , "12/31/2049" max date. facing problem when enter date manually in date text box.
scenario 1: enter date 123129. radpicker correctly picks 12/31/2029 , displays formatted date value.
scenario 2: enter date 123130. client side validation warning. no matter day , month enter, freezes every time on year greater xx/xx/29 (2029).
scenario 3: enter date 12312030 - complete year instead of last 2 digits. radpicker correctly picks 12/31/2030 , displays formatted date value.
i tested 3 scenarios on asp.net calendar demo - datepicker - first well.
i not sure why validation kicks in when max date set 12/31/2049.
please assist me in resolving issue.
thanks,
vaibhav
"the years starting 30 , greater parsed 19.. if u 30th(year) 1930, 123130 parsed 12/31/1930. invalid because default value of mindate i.e. 1/1/1980. in order solve set shortyearcenturyend property of dateinput 2099.
hope answered question.
Comments
Post a Comment