private void radDateTimePicker_RootElement_MouseWheel(object sender, MouseEventArgs e)
Hello, Ebrahim,If I understand your requirement correctly, you need to change the month value with +1/-1 using the mouse wheel. Please correct me if I am wrong. This behavior is supported out of the box but it requires first selecting the desired date part that you want to change, e.g. month, day, year. The attached gif file illustrates better what I mean.
However, if you want to change only the month, it is necessary to disable the default mouse wheel logic and execute the custom action that you want:
this.radDateTimePicker1.DateTimePickerElement.TextBoxElement.TextBoxItem.TextBoxControl.MouseWheel += TextBoxItem_MouseWheel;
//disable the defautl logic for mouse wheel
this.radDateTimePicker1.DateTimePickerElement.TextBoxElement.EnableMouseWheel = false;
private void TextBoxItem_MouseWheel(object sender, MouseEventArgs e)
if (e.Delta > 0)
this.radDateTimePicker1.Value = this.radDateTimePicker1.Value.AddMonths(1);
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Dess | Tech Support Engineer, Principal
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.