/// <summary> /// Changes the selected date and hides the calendar /// It is trigerred when the date in the calendar is clicked /// </summary> /// <param name="dt">The clicked date</param> protected void Change_Date(PickerDate dt) { SelectedDate = dt.Date; Hide(); //Hide calendar after the date is picked }
private void PickerDateButton(object sender, EventArgs e) { PickerDate.Focus(); }