I Have 2 RadDatePicker and I’d like to ask if it’s possible to disable dates before a specific dates selected
(as airlines dates you can't select a return date before a departure date)
i used a trick that i changed the MinDate of the second RadDatePicker to the selected date of the first one in the code behind but its kind slow.
protected
void
pickDateFrom_OnSelectedDateChanged(
object
sender, EventArgs e)
{
if
(pickDateFrom.SelectedDate.HasValue)
{
pickDateTo.MinDate = pickDateFrom.SelectedDate.Value;
}
}
is there any way to do this in JavaScript or something to make it faster
i'm Sorry this is asp.net problem not a windows forms one, admin could you please delete it or move it to the right section.