private void RellenaFormulas() { if (this.idindicator.HasValue) { ListView lstFormulas = (ListView)LoginViewIndicador.FindControl("lstFormulas"); if (lstFormulas != null) { try { using (Clases.cKPI_WIDGET_EXPRESIONS objExpresiones = new Clases.cKPI_WIDGET_EXPRESIONS()) { objExpresiones.indicatorid = this.idindicator; lstFormulas.DataSource = objExpresiones.ObtenerOtrasFormulas(15, 1, string.Empty, string.Empty); lstFormulas.DataBind(); } } catch (Exception excp) { ExceptionUtility.LogException(excp, "Error en la función << RellenaFormulas() >>"); } } } else { Response.Redirect("~/errors/notfound.aspx"); } }
private void RellenaIndicadoresRelacionados() { if (this.idindicator.HasValue) { try { using (Clases.cKPI_WIDGET_EXPRESIONS objExpresiones = new Clases.cKPI_WIDGET_EXPRESIONS()) { objExpresiones.indicatorid = this.idindicator; lstIndicadoresRelacionados.DataSource = objExpresiones.ObtenerOtrosIndicadores(); lstIndicadoresRelacionados.DataBind(); } } catch (Exception excp) { ExceptionUtility.LogException(excp, "Error en la función << RellenaIndicadoresRelacionados() >>"); } } else { Response.Redirect("~/errors/notfound.aspx"); } }