I am using your date time picker control with the latest version of the win form controls 2013.3.1016.20
I have the control property ShowUpDown = True
my code is
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
RadDateTimePicker1.MinDate = New Date(1890, 1, 1)
RadDateTimePicker1.NullDate = New Date(1890, 1, 1)
RadDateTimePicker1.NullableValue = Nothing ' New Date(1890, 1, 1)
end sub
under my clear button I have
RadDateTimePicker1.Value = New Date(1890, 1, 1)
RadDateTimePicker1.SetToNullValue()
this whole process of clearing the date seems way to excessive, i took me forever to find you had to set the minDate to the null value date to get this to work at all.
I would expect to be able to clear the control by writing
RadDateTimePicker1.value = nothing
This would be simple, easy and intuitive
Besides that the problem i am having is when the control first loads it shows as blank
if i press the up or down arrow it shows the current date time
when i press my clear button it does clear the control.
but if i then click in the control and then click another control so it loses focus the current date time that appeared after pressing the up or down button comes back and is displayed in the control, and no matter what i try i can not stop it coming back when the control gets and then loses the focus again.
please help, I have spent way to long trying to make this seeming simple vital functionality work correctly
I have the control property ShowUpDown = True
my code is
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
RadDateTimePicker1.MinDate = New Date(1890, 1, 1)
RadDateTimePicker1.NullDate = New Date(1890, 1, 1)
RadDateTimePicker1.NullableValue = Nothing ' New Date(1890, 1, 1)
end sub
under my clear button I have
RadDateTimePicker1.Value = New Date(1890, 1, 1)
RadDateTimePicker1.SetToNullValue()
this whole process of clearing the date seems way to excessive, i took me forever to find you had to set the minDate to the null value date to get this to work at all.
I would expect to be able to clear the control by writing
RadDateTimePicker1.value = nothing
This would be simple, easy and intuitive
Besides that the problem i am having is when the control first loads it shows as blank
if i press the up or down arrow it shows the current date time
when i press my clear button it does clear the control.
but if i then click in the control and then click another control so it loses focus the current date time that appeared after pressing the up or down button comes back and is displayed in the control, and no matter what i try i can not stop it coming back when the control gets and then loses the focus again.
please help, I have spent way to long trying to make this seeming simple vital functionality work correctly