Posted 30 Nov 2018
Link to this post
I have a DatePicker (not DateTimePicker) and want to add functionality to it. If I type "t" it displays today's date. This part works, but I also want to add t-n/t+n where n is the number of days to add or subtract from today's date. However, whenever you type a number into a DatePicker, it automatically assumes the same month and year and outputs whatever number you type as the date. For example if i type t+4, and today's date is 11/20/2018, it displays 11/4/2018, even though, through debugging, it does hit the line that should display 11/24/2018. It appears to run OnValueChanging a second time, imputing what telerik thinks I want. Is there anyway to disable this, or cancel it once it starts?