Home Forums WinForms controls Other WinForms controls Disable WinDatePicker’s Null and Today buttons Reply To: Disable WinDatePicker’s Null and Today buttons

User (Old forums)
Member
Post count: 23064

There is a bug with the WinDatePicker.DropDownControl TodayButton and NoneButton in design time. However, it works fine at runtime. As a workaround, set the Visible property in code, until we fix this in a future release.

i.e. :

winDatePicker1.DropDownControl.TodayButton.Visible = false;
winDatePicker1.DropDownControl.NoneButton.Visible = false;

For the week number, this is not a feature that is supported.

Imported from legacy forums. Posted by André (had 235 views)