protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { oAgendaOT = (AgendaOT)Session["AgendaOT"]; Session["AgendaOT"] = null; LlenaCombos(); ObtenerMaterialesOTM(); } }
protected void BtnVideoConsulta_Click(object sender, EventArgs e) { try { string ruta = Request.ApplicationPath; oAgendaOT = JsonConvert.DeserializeObject <AgendaOT>(this.HDAgenda2.Value); oML = JsonConvert.DeserializeObject <wsFiatube.THE_MaterialLocal>(this.HDML2.Value); AbreVideoConsulta(); } catch (Exception ex) { logError(ex); } }
protected void BtnDetonador_Click(object sender, EventArgs e) { try { string ruta = Request.ApplicationPath; oAgendaOT = JsonConvert.DeserializeObject <AgendaOT>(this.HDAgenda.Value); oML = JsonConvert.DeserializeObject <wsFiatube.THE_MaterialLocal>(this.HDML.Value); ValidaEnvioSolicitud(); //Validaciones ConsultaPrivilegionRecuperacion(); ObtienePlayOutLocal(); ///Guardar Guardar(); } catch (Exception ex) { logError(ex); } }
protected void BntDetonador_Click(object sender, EventArgs e) { oAgendaOT = JsonConvert.DeserializeObject <AgendaOT>(this.HDAgenda.Value); Session["AgendaOT"] = oAgendaOT; ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "js", " AbrirObtenerMateriales(); ", true); }