I have a DateTimePicker (nullable version) that I need to be read only. I'm not happy with the display if it is disabled, so wanted to know if anyone had a nifty example of how to stop updates on the field?
Thanks.
I know this is very old but to help anyone else searching for this (As it was the first one I found through google) You can use:
this.dateTimePicker1.Enabled = false;
to make it act the same way as a a textbox would with this.textbox1.ReadOnly = true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With