private void cargarComboTipoComparacion(ref Telerik.Web.UI.RadDropDownList r) { Consulta c = new Consulta(); try { DropDownListASP.llenarDropDownList(c.consultarTipoComparacion(), "value", "text", ref r); DropDownListASP.AddItemToDropDownList(ref r, "SELECCIONE>>", "-1", true); DropDownListASP.selectIndexByValue(ref r, "-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)); } }