private void FindDateChooser(ref DateChooser dateChooser, string id) { Control control = base.ContentPanel; control = control.FindControl("mainProperties"); control = control.FindControl("mainSection"); dateChooser = (DateChooser)control.FindControl(id); }
private void abrirCalendario(object sender, MouseEventArgs e) { DateChooser dateChooser = new DateChooser(fechaTextBox); dateChooser.Show(); }