/// <summary> /// Inicializa os filtros da pagina. /// </summary> protected void Inicializar() { UCComboCalendario1.Carregar(); UCComboUAEscola.Inicializar(); if (UCComboUAEscola.VisibleUA) { UCComboUAEscola_IndexChangedUA(); } else { UCComboUAEscola.ObrigatorioEscola = true; } }
protected void UCComboUAEscola_IndexChangedUnidadeEscola() { try { UCComboCalendario1.Valor = -1; UCComboCalendario1.PermiteEditar = false; if (UCComboUAEscola.Esc_ID > 0 && UCComboUAEscola.Uni_ID > 0) { UCComboCalendario1.Carregar(); UCComboCalendario1.PermiteEditar = true; UCComboCalendario1.SetarFoco(); } UCComboCalendario1_IndexChanged(); } catch (Exception ex) { ApplicationWEB._GravaErro(ex); lblMessage.Text = UtilBO.GetErroMessage(GetGlobalResourceObject("Relatorios", "AtaFinalResultado.Busca.lblMessage.ErroCarregarDados").ToString(), UtilBO.TipoMensagem.Erro); } }