private void cargarComboFormatoFecha() { Consulta c = new Consulta(); try { DropDownListASP.llenarDropDownList(c.consultarFormatoFecha(), "value", "text", ref this.ddlFormatoFecha); DropDownListASP.AddItemToDropDownList(ref this.ddlFormatoFecha, "SELECCIONE>>", "-1", true); DropDownListASP.selectIndexByValue(ref this.ddlFormatoFecha, "-1"); } catch (Exception ex) { Logger.generarLogError(ex.Message, new System.Diagnostics.StackFrame(true), ex); this.RadWindowManager1.RadAlert(Utilities.errorMessage(), 400, 200, Utilities.windowTitle(TypeMessage.error_message), null, Utilities.pathImageMessage(TypeMessage.error_message)); } }