示例#1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         oAgendaOT           = (AgendaOT)Session["AgendaOT"];
         Session["AgendaOT"] = null;
         LlenaCombos();
         ObtenerMaterialesOTM();
     }
 }
示例#2
0
 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);
     }
 }
示例#3
0
        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);
            }
        }
示例#4
0
 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);
 }