protected void gv_listar_RowCommand(object sender, GridViewCommandEventArgs e) { if (e.CommandName == "EDITAR") { hf_id.Value = e.CommandArgument.ToString(); int soes_id = int.Parse(hf_id.Value); SolicitudBC s = new SolicitudBC(); DataTable dt = s.ObtenerColorEstadoSolicitud(soes_id); //ltl_color.Text = crearContenido(dt); crearContenido(dt); ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "modal", "modalColor();", true); } }