private void CargarGridAcciones()
        {
            try
            {
                ActividadesCOM actividad = new ActividadesCOM();
                //List<actividades> lstactividades = Session[hdfid_riesgo.Value + "list_actividades"] as List<datos.actividades>;//Session[hdfguid.Value + "list_actividades"] as List<datos.actividades>;

                //repeater_acciones.DataSource = lstactividades;
                repeater_acciones.DataSource = actividad.actividades_riesgo(Convert.ToInt32(hdfid_riesgo.Value));
                repeater_acciones.DataBind();
            }
            catch (Exception ex)
            {
                Toast.Error("Error al cargar grid de acciones: " + ex.Message, this);
            }
        }
 private void CargarAccionesHistorial(int id_proyecto)
 {
     try
     {
         ActividadesCOM actividades = new ActividadesCOM();
         DataTable      dt_riesgos  = actividades.actividades_tecnologia(id_proyecto);
         if (dt_riesgos.Rows.Count > 0)
         {
             //repeter_hisitorial_acciones.DataSource = dt_riesgos;
             //repeter_hisitorial_acciones.DataBind();
             ScriptManager.RegisterStartupScript(this, GetType(), Guid.NewGuid().ToString(), "InitPagging('#tabla_historial');", true);
             ScriptManager.RegisterStartupScript(this, GetType(), Guid.NewGuid().ToString(), "InitPagging('#tabla_historial_acciones');", true);
         }
     }
     catch (Exception ex)
     {
         Toast.Error("Error al cargar información del historial de acciones, " + ex.Message, this);
     }
 }