How to Change the Date in a DateTimePickerAdv Control When it is ReadOnly in Windows Forms DateTimePickerAdv(Classic)
We can make the control read only by setting ReadOnly property to true. DateTimePickerAdv control have an option to change the date, even in ReadOnly mode using Arrow keys. Set ReadOnlyValueChange property to true to effect this setting.
this.dateTimePickerAdv1.ReadOnly = true; this.dateTimePickerAdv1.ReadOnlyValueChange = true;
Me.dateTimePickerAdv1.ReadOnly = True Me.dateTimePickerAdv1.ReadOnlyValueChange = True
Was this page helpful? Yes No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page