Hello,
i have a webform with 4 RadDatePickers. In one control i want to have two different dates. In the dateInput-control is a date from a database and in the calender-control should be now.
The code look like this:
But the controls are empty. Only when is set the date to the RadDatePicker-Control:
The Date is shown.
What have i made wrong?
Kind regards
Jens
i have a webform with 4 RadDatePickers. In one control i want to have two different dates. In the dateInput-control is a date from a database and in the calender-control should be now.
The code look like this:
If IsNothing(Sfo.DatumletztPrüfung) = False AndAlso IsDate(Sfo.DatumletztPrüfung) = True Then
RadDateLetztePrüfung.DateInput.SelectedDate = Convert.ToDateTime(Sfo.DatumletztPrüfung)
RadDateLetztePrüfung.Calendar.SelectedDate = Now()
End If
But the controls are empty. Only when is set the date to the RadDatePicker-Control:
RadDateLetztePrüfung.SelectedDate = Convert.ToDateTime(Sfo.DatumletztPrüfung)
What have i made wrong?
Kind regards
Jens